Oddjobd(pam_oddjob_mkhomedir) daemon is not creating home directories for new users on first login
Issue
-
After resizing /home, the oddjobd daemon is no longer making user home directories on first user login.
-
Oddjobd daemon is no longer making user home directories on first user login, audit.log shows:
type=AVC msg=audit(1461603239.163:1335899): avc: denied { write } for pid=956128 comm="mkhomedir" name="/" dev="dm-6" ino=128 scontext=system_u:system_r:oddjob_mkhomedir_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclas
s=dir
Environment
- Red Hat Enterprise Linux 6/7
- oddjob-mkhomedir (pam_oddjobd_mkhomedir.so)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
