one time changing of default user's home directory while adding newuser
Posted 01-17-2012 at 05:28 AM by dinakumar12
vim /etc/default/useradd
Look for this line
HOME=/home
change /home to your own directory
save the file and try adding new user by useradd username
Now the new user should be created with your own preferred directory.
Look for this line
HOME=/home
change /home to your own directory
save the file and try adding new user by useradd username
Now the new user should be created with your own preferred directory.
Total Comments 0