gpasswd
Administer /etc/group and /etc/gshadow. tldr-pages
On Linux
Linux
Define group administrators
sudo gpasswd --administrators user1,user2 groupIdentifySet the list of group members
sudo gpasswd --members user1,user2 groupIdentifyCreate a password for the named group
gpasswd groupIdentifyAdd a user to the named group
gpasswd --add user groupIdentifyRemove a user from the named group
gpasswd --delete user groupIdentify