Thanks Dermot. The problem is with pam. After commenting out all the defines in include/config.h for pam and recompiling, it all works now. Andrew