vitalnix user management suite 3.2.0


Name

vxgroupdel -- Delete a group

Syntax

vxgroupdel [-F] [--after command] [--before command] [--vxdb database] group

Description

vxgroupdel deletes the specified group, but will take care for whether any use has that group as a primary group set. All options provided are unique to Vitalnix. The configuration file for vxgroupdel is /etc/vitalnix/groupdel.conf.

Note that after deletion of a group, there might be objects left in the filesystem which have the just deleted group's GID as group owner. One should look after these files and adjust their group membership (if applicable), to avoid the case that a future group will accidentally get access because it has the same GID as the previous group.

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.
-F vxgroupdel will, by default, not delete any groups, of which a user is a primary member of. -F forces to delete the group.

See also

vxgroupadd(8), vxgroupmod(8)