I am using pam_mkhomedir to automatically create user's home directories when they first log in.
However, the home directories are created inside the /home
directory, while i need them to be created inside another one (/users/home
).
How can this be achieved ?
Extra info:
- Editing
/etc/default/useradd
does not help. - The only options that can be passed to pam_mkhomedir are the path to an alternative "skel" directory and a permissions mask.