Hello all,
I've found some earlier posts regarding problems with pam_mkhomedir, effective vs real user id, and privelege seperation. I'm having similar problems, but not with ssh or samba, but with ordinary 'login', at the machine console.
I'd setup my machine to use winbind to authenticate to our NT4 domain controller, and this is working sucessfully. Failure occurs only on the pam_mkhomedir step, as I could see when I disabled the other session-level checks. I see a brief "can not create directory" flash by on the login screen.
In syslog, I see:
Feb 4 17:00:41 elfarran login[11344]: Permission denied
My /home is 755 root:root, and I've tried it as 777 without success.
My relevant session lines are:
session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0022
session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
I've tried this without the skel=, or umask=, or different umask settings, all to no success. My system is running Mandrake 9.2, with pam-0.77-9.
Thanks for any and all help,
Joshua Thomas
Network Operations Engineer
PowerOne Media, Inc.
tel: 518-687-6143
jthomas@xxxxxxxxxxxxxxxxx
---
Ninety percent of this game is half mental.
- Yogi Berra
---