On 20/12/2015 12:05 AM, Tim Dunphy wrote:
Check /var/log/secure for why the directory is not able to be created.
Might be selinux, is that enabled? (sestatus)
Good catch! It was indeed SELinux preventing the directory from being
created. Disabling it allows that to happen. For instance I just
created a
new test user in LDAP:
#ssh odunphy@xxxxxxxxxxxxxxxx
odunphy@xxxxxxxxxxxxxxxx's password:
Creating directory '/home/odunphy'.
Hello,
in RHEL/CentOS7 you need oddjob-mkhomedir - check this
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Configuring_Authentication.html#idp27104864
Regards,
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos