How do I change the home directory in Linux?

How do I change the home directory in Linux?
Answer
The command ‘usermod’ is similar to that ‘useradd’ or ‘adduser’ but the login granted to an existing user.
  • 15 usermod Command Examples.
  • Add Information to User.
  • Change User Home Directory.
  • Set User Account Expiry Date.
  • Change User Primary Group.
  • Add Group to User.
  • Add Multiple Groups to User.
  • Change User Login Name.
 

Tìm kiếm

Back
Top