/ Published in: Bash
![](/img/icon_sav.png?v3)
change user's home directory
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# To change the user's home directory, just use the 'usermod' command, which exists on all unices. It works like this: usermod -d /path/to/new/homedir/ username
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)