Users home directory


#1

Hello
I have a UCS 4.0 and when adding a new user, the users home directory isn’t create in the server ,How can I add users home directory to server during login ?

Thank you for advance
Best regards


#2

Hey,

user home directories are created automatically whenever a user logs in to the server, no matter the service used (e.g. ssh, Samba, IMAP…). This is done via PAM modules. It’s therefore normal not to see the home directories for newly created users.

If you want to trigger that process manually, you can run e.g. sudo -u <newuser> true which will execute the /bin/true command as the new user, and in that process check for the home directory’s existence and create it.

Kind regards,
mosu


#3

Maybe this is helpful: https://wiki.univention.de/index.php/Cool_Solution_-_Automatically_create_users_home_directories