vitalnix user management suite 3.2.0


Name

vxgroupadd -- Create a new group

Syntax

vxgroupadd [--after command] [--before command] [--vxdb database] [-g gid [-o]|-r] group

Description

vxgroupadd will create a new group using the supplied parameters. The configuration file for vxgroupadd is /etc/vitalnix/groupadd.conf.

Options

--after command Runs the specified command after the group was successfully added. If --after is given, but with a zero-length command string, the default command in the configuration file is not run.
--before command Runs the specified command before the group is added. It is run always, even if adding fails. If --before is given, but with a zero-length command string, the default command in the configuration file is not run.
--vxdb database Uses the specified database rather than the default one listed in the VXDB configuration file.
-g gid The numerical group identification number of the new group. The default is to assign the group the next greatest GID available. This option overrides -r.
-o If a group with the explicit GID given by -g already exists, you can override the error message with this option, to create non-unique GIDs.
-r Create a system group, that is, with a lower GID than the hardcoded default (100), or what is specified for MIN_GID in the autouid configuration file. The -g option overrides this one.

See also

vxgroupmod(8), vxgroupdel(8)