Skip to content

Glossary: Linux for Developers

usermod

Also written: usermod -aG

Changes a user. `usermod -aG GROUP USER` appends a group; leaving out `-a` replaces all the user's groups and can remove them from `sudo`.

Where the book teaches it

Related terms

groupadduser