You need to use the usermod command to set the user's new login directory. The syntax is as follows:

usermod -m -d /path/to/new/home/dir userNameHere

Where,

-d dirnanme : Path to new login (home) directory.-m : The contents of the current home directory will be moved to the new home directory, which is created if it does not already exist.
The following change the user's new login directory to /home2/i88ca from /home/i88ca:
# usermod -m -d /home2/i88ca i88ca