1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 09:55:06 +00:00
serenity/Base/usr/share/man/man8/groupadd.md

32 lines
623 B
Markdown

## Name
groupadd - add a new group to the system group file
## Synopsis
```**sh
# 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
```sh
# groupadd -g 110 contributors
# groupadd maintainers
```