Enter your email address:

Delivered by FeedBurner

usermod - modify a user account

usermod - modify a user account

Once a user is already created, you can still modify its options and data, to do that use usermod

Syntax

  • -d home directory
  • -s starting program (shell)
  • -p password
  • -g (primary group assigned to the users)
  • -G (Other groups the user belongs to)

Example

If you want to change the default login shell of a user user

usermod -s /bin/tsh user

Read the man page of usermod for more information

Related pages
useradd
userdel

Share/Save

Navigation

For your laptop needs, visit LaptopLogic - the laptop review site with news, articles, tips and how-to's.

Recent comments