Forrest logo
back to the usermod tool

usermod:ai:af372

This command adds a user to a specific group in Linux.
$ usermod -a -G groupName username
try on your machine

This command adds a user to a specific group in Linux.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • add user to group?
back to the usermod tool