How do you change the home directory of a user in Linux?

How do you change the home directory of a user in Linux?
Answer
Change the user’s home directory:
usermod is the command to edit an existing user. -d (abbreviation for –home ) will change the user’s home directory.
 

Tìm kiếm

Back
Top