mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 12:05:00 +00:00
752 B
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 above100
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