Creating Groups
Use groups to quickly assign the same permissions to several users.
To create a group, use the groupadd command.
sudo groupadd [options] groupname
Typically, you might want to use the -g option to specify the group
ID (GID). This helps to maintain a consistent GID across systems. For example, to use
1000
as the GID for the devgrp
group:
sudo groupadd -g 1000 devgrp
For more information, see the groupadd(8)
manual page.