How do I change the $home in Linux?

Lê Minh

Member
How do I change the $home in Linux?
Answer
You need to edit the /etc/passwd file to change home directory of users that are currently logged in. Edit the /etc/passwd with sudo vipw and change home directory of the user.
 

Tìm kiếm

Back
Top