lgroupadd1
Add an user group
Usage
lgroupadd [OPTION] ...
group
Overview
Adds a new user group with name group.
Options
-
-g, --gid=gid -
Use group ID gid for the newly created group. A group ID is selected automatically if this option is not present.
-
-i, --interactive -
Ask all questions when connecting to the user database, even if default answers are set up in
libuserconfiguration.
-
-r, --reserved -
The group is a system group. Groups that are not marked as system groups usually have automatically selected group IDs above a certain value (configured as
LU_GIDNUMBERin libuser.conf(5)). This information is also passed to thelibuserbackends.
Exit status
The exit status is 0 on success, nonzero on error.
Releases
Unchanged in 6 releases since Debian 8 (Jessie).