GROUP(8) - System Manager’s Manual # GROUP(8) - System Manager’s Manual
NAME # group - manage group information on the system
SYNOPSIS # group add [-ov] [-g gid] group
group del [-v] group
group info [-ev] group
group mod [-ov] [-g gid] [-n newname] group
DESCRIPTION # The group utility acts as a frontend to the groupadd(8), groupmod(8), groupinfo(8), and groupdel(8) commands.
For a full explanation of the options, see the relevant manual page.
...
GROUPADD(8) - System Manager’s Manual # GROUPADD(8) - System Manager’s Manual
NAME # groupadd - add a group to the system
SYNOPSIS # groupadd [-ov] [-g gid] group
DESCRIPTION # The groupadd utility adds a group to the system. The options are as follows:
-g gid
Gives the numeric group identifier to be used for the new group.
-o
Allows the new group to have a GID which is already in use for another group.
...
GROUPDEL(8) - System Manager’s Manual # GROUPDEL(8) - System Manager’s Manual
NAME # groupdel - remove a group from the system
SYNOPSIS # groupdel [-v] group
DESCRIPTION # The groupdel utility removes a group from the system. The options are as follows:
-v
Enables verbose mode - explain the commands as they are executed.
EXIT STATUS # The groupdel utility exits 0 on success, and >0 if an error occurs.
...
GROUPINFO(8) - System Manager’s Manual # GROUPINFO(8) - System Manager’s Manual
NAME # groupinfo - display group information
SYNOPSIS # groupinfo [-e] group
DESCRIPTION # The groupinfo utility displays the name, group ID (GID), and members of the specified group.
The options are as follows:
-e
Do not display anything (quiet mode). This form of the command is useful for scripts which need to check whether a particular group name or GID is already in use on the system.
...
GROUPMOD(8) - System Manager’s Manual # GROUPMOD(8) - System Manager’s Manual
NAME # groupmod - modify an existing group on the system
SYNOPSIS # groupmod [-ov] [-g gid] [-n newname] group
DESCRIPTION # The groupmod utility modifies an existing group. The options are as follows:
-g gid
Gives the numeric group identifier to be used for the new group.
-n newname
Gives the new name which the group shall have.
...