[Samba] Automatically Creating User Home Directories

Wiederholt, Tod Tod.Wiederholt at McKesson.com
Wed Dec 4 20:26:02 GMT 2002


Kevin, 
        There is a way to do this via PAM on Linux.  If you add the
following line to /etc/pam.d/system-auth file: 

session     sufficient    /lib/security/pam_mkhomedir.so skel=/etc/skel
umask=007 

this will automatically create a skeleton home directory the first time
a user logs on to the system. 

Tod 

-----Original Message----- 
From: Kevin Bramblett [ mailto:kbramblett at dssresearch.com
<mailto:kbramblett at dssresearch.com> ] 
Sent: Wednesday, December 04, 2002 12:03 PM 
To: samba at lists.samba.org 
Subject: [Samba] Automatically Creating User Home Directories 


Hi all, 

A quick question here.  How can I get my RHL 7.2 box running Samba
2.2.3a 
connecting to a Windows 2000 PDC via Winbind to automatically create
home 
directories for new users that get added to the Windows 2000 PDC? 

Hopefully someone can help me with this question. 

Thanks, 
Kevin Bramblett 

-- 
To unsubscribe from this list go to the following URL and read the 
instructions:  http://lists.samba.org/mailman/listinfo/samba
<http://lists.samba.org/mailman/listinfo/samba>  

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list