pam_mkhomedir 777 on parent directory

Andreas andreas at conectiva.com.br
Wed Oct 13 21:34:59 UTC 2004


On Wed, Oct 13, 2004 at 12:15:06PM -0500, Joey Trungale wrote:
> Hello,
> 
> I have sshd using pam_mkhomedir to create home directories as users are
> authenticated with pam_winbind.  The home directory setup
> is /home/NT_DOMAIN/username. The only problem with this is that
> NT_DOMAIN must be 777 in order for pam to be able to create the users
> directory in it.  I'm guessing this is because pam drops privs before it
> gets to this point...maybe it's run as the user.  Has anyone ran into
> this problem before?  Any ideas on how to keep my users (who must have

With which program are you using pam_mkhomedir? I have this same error
with "su", but not login or kdm, for example.




More information about the Pam-list mailing list