On Tue, Oct 23, 2007 at 11:47:21AM -0700, Brian Bennett wrote:
> Package: libpam-modules
> Version: 0.79-4
> Severity: normal

> I have the following in /etc/pam.d/common-session:
> session required  pam_mkhomedir.so skel=/etc/skel umask=022

Please show the full contents of your common-session config.

> Home directories are not created upon login as they should be.  I have
> tried with UsePrivilegeSeparation set yes and set no, I have also tried
> setting mode 1777 on /home.  Neither have any effect.

So this problem specifically occurs when logging in with ssh?  Does it work
when you log in by other means (such as a console login or an X login)?

Please also show your /etc/pam.d/ssh config.

I know there are some problems with PAM session handling in general, because
there are some modules that need root privileges for what they do while
other modules specifically need to run in the session process as the target
user; but given your comments on the configuration changes you've made, it
sounds more to me like pam_mkhomedir just isn't getting called.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to