Name
vxgroupmod -- Modify a group
Syntax
vxgroupmod [--after command]
[--before command] [--vxdb database] [-g
gid [-o]] [-n group_name] group
Description
vxgroupmod updates the group's info with the data given
on the command line. Not specified options will not change the corresponding
fields in the database. The configuration file for vxgroupmod is
/etc/vitalnix/groupmod.conf
.
Note that after changing the GID of a group, there might be objects left in the filesystem which you should pay attention to with respect to the GID owner. A future group may get the original GID and get accidental access to files.
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 |
Changes the group's identification number. It
must be unique, unless -o is given. |
-n name |
Changes the group's name, which must be unique. |
-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. |
See also
vxgroupadd(8), vxgroupdel(8)