1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:14:58 +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

36 lines
752 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
```
## See Also
* [`useradd`(8)](help://man/8/useradd)
* [`groupdel`(8)](help://man/8/groupdel)
* [`groups`(1)](help://man/1/groups)