Re: when creating a user, home dir not created!

Ryan Henry <[email protected]>
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
I suggest using pam to do this.  That way a home dir will be created
automatically when the user logs in and you don't have to created
individual directories on each system the user logs into.

in /etc/pam.d/system-auth add:
session    required     /lib/security/pam_mkhomedir.so skel=/etc/skel/
umask=0077

- -Ryan

Raoul Beauduin wrote:
> When i create a user, DA does not create the user's home directory.
> 
> What's wrong?
> 
> DA 1.5.1
> RH8.0
> 
> 
> RB
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Directoryadmin-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/directoryadmin-list
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.