Scroll to navigation

lgroupadd(1) General Commands Manual lgroupadd(1)


lgroupadd - Add an user group


lgroupadd [OPTION]... group


Adds a new user group with name group.


Use group ID gid for the newly created group. A group ID is selected automatically if this option is not present.

Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.

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_GIDNUMBER in libuser.conf(5)). This information is also passed to the libuser backends.


The exit status is 0 on success, nonzero on error.

Jan 11 2005 libuser