Posted By

stiobhart on 06/07/09


Tagged

server unix directory commands user nix home


Versions (?)

*nix - change user's home directory


 / Published in: Bash
 

change user's home directory

  1. # To change the user's home directory, just use the 'usermod' command, which exists on all unices. It works like this:
  2.  
  3. usermod -d /path/to/new/homedir/ username

Report this snippet  

You need to login to post a comment.