gpasswd - administer /etc/group
gpasswd [-a USER | -d USER] GROUP
Options you will use
-a USER- add USER to GROUP
-d USER- remove USER from GROUP (usermod cannot remove one group)
Examples
$ sudo gpasswd -d appuser opsRemoving user appuser from group ops
Taught in
Try gpasswd in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.