groupadd - Create a new group
groupadd [-g gid [-o]] [-r] [-f] [-K KEY=VALUE] group
The groupadd command creates a new group account using the values specified on the command line and the default values from the system. The new group will be entered into the system files as needed.
The options which apply to the groupadd command are:
Example: -K GID_MIN=100 -K GID_MAX=499
Note: -K GID_MIN=10,GID_MAX=499 doesn’t work yet.
/etc/group
group account information
/etc/gshadow
secure group account information
/etc/login.defs
shadow password suite configuration
Groupnames must begin with a lower case letter or an underscore, and only lower case letters, underscores, dashes, and dollar signs may follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]
Groupnames may only be up to 16 characters long.
If the groupname already exists in an external group database such as NIS, groupadd will deny the group creation request.
Groupnames may only be up to 16 characters long.
The groupadd command exits with the following values:
chfn(1) , chsh(1) , passwd(1) , gpasswd(8) , groupdel(8) , groupmod(8) , login.defs(5) , useradd(8) , userdel(8) , usermod(8) .