OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.10. Home directories with pam_mkhomedir (optional)


When logging in using an Active Directory user account, it is likely that user has no home directory. This can be fixed with pam_mkdhomedir.so, which will create the user's home directory on login. Edit /etc/pam.d/ common-session, and add this line directly after session required pam_unix.so:


session required pam_mkhomedir.so skel=/etc/skel/ umask=0022


image

This may also need override_homedir in sssd.conf to function correctly, so make sure that's set.


Top OS Cloud Computing at OnWorks: