0

How to change home directory path for users in linux

I need to change the home directory path for the newly created user in my linux machine. Is it possible?

Home Directory Linux Add a comment
ethan
asked May 18 2017

Answer

0

Its possible. The default is /home/user/ to change as required, run the below command.

 # usermod -m -d (NEW_PATH) (USER_NAME)

NOTE: Once you give this command, the default path will be changed.

Add a comment
jagannatharumugam
asked May 18 2017
edited Oct 05 2018
Post your Answer