This tutorial explains Linux “groupdel” command, options and its usage with examples.
The groupdel command modifies the system account files, deleting all entries that refer to group. The named group must exist.
You must manually check all filesystems to insure that no files remain with the named group as the file group ID.
The following configuration variable, located in /etc/login.defs, changes the behavior of groupdel:
Maximum members per group entry. When the maximum is reached, a new group entry (line) is started in /etc/group (with the same name, same password, and same GID). The default value is 0, meaning that there are no limits in the number of members in a group.
1. Basic Usage
The following command deletes group called abc
# groupdel newgroup
Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials.