Sunday, November 3, 2013

Create home directories using authconfig.



If you would like to create home directories of a user at the time of user first time login then certainly we can use authconfig command to create directory of a user as like mentioned in /etc/passwd.

authconfig --enablemkhomedir --update
If you want to disable the same feature you can use the following command.
authconfig --disablemkhomedir --update

No comments:

Post a Comment