I want to specify the home directory when creating a user, currently i'm using centos 6.7
Is it possible?
I want to specify the home directory when creating a user, currently i'm using centos 6.7
Is it possible?
You can do this to simply add a user:
useradd -m -d /home/newuser newuser
Or this to add a user by asking you some questions
adduser --home /home/newuser2 newuser2