I watched somebody change a user’s home directory today by deleting the user using ‘userdel’ and then re-creating the user with ‘adduser’ and entering a different path for their home directory. This is not the simplest way to do it..
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