Adding user to a group

To add a user to an existing group

$ sudo usermod -a -G groupname username

The option -a is append username to the groupname but must be accompany the option -G before the list of groups.

Advertisements