groupadd

Name

groupadd -- create a new group

Synopsis

groupadd [-g gid [-o]] group

Description

If the caller has appropriate privilege, the groupadd command shall create a new group named group. The group name shall be unique in the group database. If no gid is specified, groupadd shall create the new group with a unique group ID.

Options

-g gid [-o]

The new group shall have group ID gid. If the -o option is not used, no other group shall have this group ID. The value of gidshall be non-negative.