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
m better link template
Line 9: Line 9:
* [[/archive/Red Hat 7]]: 2005 transcription of Red Hat 7 manpage
* [[/archive/Red Hat 7]]: 2005 transcription of Red Hat 7 manpage
==See Also==
==See Also==
* {{l/linux/cmd|groups}}: list what groups a user is in
* {{l/linux/cmd/groups}}: list what groups a user is in

Revision as of 19:56, 5 January 2018

<hide> page type::reference thing type::command platform::Linux </hide>

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>

Archive

See Also

  • groups: list what groups a user is in