Difference between revisions of "cmd/usermod"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< cmd
Jump to navigation Jump to search
m (better link template)
(tidying)
Line 5: Line 5:
 
==How To==
 
==How To==
 
Assign a user to an additional (non-primary) group:
 
Assign a user to an additional (non-primary) group:
* usermod -a -G {{arg|groupname}} {{arg|username}}
+
* <code>usermod -a -G {{arg|groupname}} {{arg|username}}</code>
==Archive==
+
==Related==
 +
* [[Linux/groups]]: Linux user/group commands
 +
* {{l/linux/cmd/groups}}: list what groups a user is in
 
* [[/archive/Red Hat 7]]: 2005 transcription of Red Hat 7 manpage
 
* [[/archive/Red Hat 7]]: 2005 transcription of Red Hat 7 manpage
==See Also==
 
* {{l/linux/cmd/groups}}: list what groups a user is in
 

Revision as of 13:06, 6 January 2018

Basics

usermod is a command for modifying users on a Linux system.

How To

Assign a user to an additional (non-primary) group:

  • usermod -a -G <groupname> <username>

Related