change user home directory from command line
hi
howto change user home directory from the command line ? I have debian sarge. greetings cccc |
You can use the usermod command. The following (run as root) will change the user smith's home directory to /tmp/smith and move all of their files with it.
Code:
usermod -m -d /tmp/smith smith |
All times are GMT -5. The time now is 12:18 PM. |