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?

ethan
asked May 18, 2017
1 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.

View More
jagannatharumugam
answered May 18, 2017
Your Answer
||||
x
 
100:0