GROUPDEL(8) Maintenance Commands and Procedures GROUPDEL(8)
groupdel - delete a group definition from the system
/usr/sbin/groupdel group
The groupdel utility deletes a group definition from the system. It
deletes the appropriate entry from the /etc/group file.
group
An existing group name to be deleted.
The following exit values are returned:
0
Success.
2
Invalid command syntax. A usage message for the groupdel
command is displayed.
6
group does not exist.
10
Cannot update the /etc/group file.
/etc/group
system file containing group definitions
attributes(7), groupadd(8), groupmod(8), logins(8), useradd(8),
userdel(8), usermod(8)
The groupdel utility only deletes a group definition that is in the
local /etc/group file. If a network nameservice is being used to
supplement the local /etc/group file with additional entries,
groupdel cannot change information supplied by the network
nameservice.
groupdel fails if a group entry (a single line in /etc/group) exceeds
2047 characters.
January 7, 2018 GROUPDEL(8)
NAME
groupdel - delete a group definition from the system
SYNOPSIS
/usr/sbin/groupdel group
DESCRIPTION
The groupdel utility deletes a group definition from the system. It
deletes the appropriate entry from the /etc/group file.
OPERANDS
group
An existing group name to be deleted.
EXIT STATUS
The following exit values are returned:
0
Success.
2
Invalid command syntax. A usage message for the groupdel
command is displayed.
6
group does not exist.
10
Cannot update the /etc/group file.
FILES
/etc/group
system file containing group definitions
SEE ALSO
attributes(7), groupadd(8), groupmod(8), logins(8), useradd(8),
userdel(8), usermod(8)
NOTES
The groupdel utility only deletes a group definition that is in the
local /etc/group file. If a network nameservice is being used to
supplement the local /etc/group file with additional entries,
groupdel cannot change information supplied by the network
nameservice.
groupdel fails if a group entry (a single line in /etc/group) exceeds
2047 characters.
January 7, 2018 GROUPDEL(8)