1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 12:05:00 +00:00
serenity/Base/usr/share/man/man8/groupadd.md
kleines Filmröllchen afaea38be2 Base: Expand "See Also" sections of many manpages
This commit focuses on the CLI utilities.
2023-07-06 10:03:48 +01:00

752 B

Name

groupadd - add a new group to the system group file

Synopsis

# groupadd [options] <group>

Description

This program adds a new group to the system.

This program must be run as root.

Options

  • -g, --gid gid: The group identifier for the new group. If not specified, an unused GID above 100 will be auto-generated.
  • -U, --users user-list: A comma-separated list of usernames to add as members of the new group

Files

  • /etc/group - new group information (such GID) is appended to this file.

Examples

# groupadd -g 110 contributors
# groupadd maintainers

See Also