On a ldap enabled CentOS 6.3 x64 system, I try to make it so home directories are auto-created. I added this :
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
to my /etc/pam.d/system-auth
And it does nothing. I restarted messagebus (I've seen references to that) and sshd, and logs don't mention anything in regards to pam_mkhomedir...
Any hints ?
Nicolas Ross a écrit :
On a ldap enabled CentOS 6.3 x64 system, I try to make it so home directories are auto-created. I added this :
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
to my /etc/pam.d/system-auth
And it does nothing. I restarted messagebus (I've seen references to that) and sshd, and logs don't mention anything in regards to pam_mkhomedir...
By the way, selinux is disabled.
----- Original Message ----- | On a ldap enabled CentOS 6.3 x64 system, I try to make it so home | directories are auto-created. I added this : | | session required pam_mkhomedir.so skel=/etc/skel/ umask=0077 | | to my /etc/pam.d/system-auth | | And it does nothing. I restarted messagebus (I've seen references to | that) and sshd, and logs don't mention anything in regards to | pam_mkhomedir... | | Any hints ? | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos |
did you try running authconfig --enablemkhomedir --updateall
James A. Peltier a écrit :
| And it does nothing. I restarted messagebus (I've seen references to | that) and sshd, and logs don't mention anything in regards to | pam_mkhomedir... | | Any hints ? | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos |
did you try running authconfig --enablemkhomedir --updateall
Great, that worked !
That options isn't even in the man page !
Thanks,
On Tue, 2012-07-31 at 10:52 -0400, Nicolas Ross wrote:
did you try running authconfig --enablemkhomedir --updateall
Great, that worked !
That options isn't even in the man page !
That's a bug then. Please report it!
Regards,
Ranbir