cmd/usermod: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< cmd
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
[[usermod]] is a command for modifying users on a Linux system. | [[usermod]] is a command for modifying users on a Linux system. | ||
* {{l/manpage}} for this system | * {{l/manpage}} for this system | ||
==How To== | |||
Assign a user to an additional (non-primary) group: | |||
* usermod -a -G {{arg|groupname}} {{arg|username}} | |||
==Archive== | ==Archive== | ||
* [[/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 14:37, 17 August 2017
<hide> page type::reference thing type::command platform::Linux </hide>
Basics
usermod is a command for modifying users on a Linux system.
- manpage for this system
How To
Assign a user to an additional (non-primary) group:
- usermod -a -G <groupname> <username>
Archive
- /archive/Red Hat 7: 2005 transcription of Red Hat 7 manpage
See Also
- groups: list what groups a user is in
