groupdel(1M) manual page
Table of Contents
groupdel - delete a group definition from the system
/usr/sbin/groupdel
group
SUNWcsu
The groupdel command deletes a group
definition from the system. It deletes the appropriate entry from the /etc/group
file.
- group
- A string of printable characters that specifies the group
to be deleted.
- /etc/group
-
users(1B)
, groupadd(1M)
, groupmod(1M)
,
logins(1M)
, useradd(1M)
, userdel(1M)
, usermod(1M)
The groupdel
command exits with one of the following values:
- Success.
- Invalid command
syntax. A usage message for the groupdel command is displayed.
- group does
not exist.
- Cannot update the /etc/group file.
groupdel only deletes
a group definition that is in the local /etc/group file. If a network nameservice
such as NIS
or NIS+
is being used to supplement the local /etc/group
file with additional entries, groupdel cannot change information supplied
by the network nameservice.
Table of Contents