2009/7/9 hqm8512 <hqm8...@126.com>:
> hello ,
> we're using LDAP for user authentication
>
> I'm looking for a mechanism to automatically create a users home directory
> when he logs in for the first time
> Thanks,

If using authconfig, can pass the --enablemkhomedir

This works by putting the following in /etc/pam.d/system-auth
session optional pam_mkhomedir.so


Seán
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to