]> Julianne Frances Haugh Creation, 1991 Thomas Kłoczko kloczek@pld.org.pl shadow-utils maintainer, 2000 - 2007 Nicolas François nicolas.francois@centraliens.net shadow-utils maintainer, 2007 - now groupdel 8 System Management Commands shadow-utils &SHADOW_UTILS_VERSION; groupdel delete a group groupdel options GROUP DESCRIPTION The groupdel command modifies the system account files, deleting all entries that refer to GROUP. The named group must exist. OPTIONS The options which apply to the groupdel command are: , This option forces the removal of the group, even if there's some user having the group as the primary one. , Display help message and exit. ,  CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. Only absolute paths are supported. ,  PREFIX_DIR Apply changes in the PREFIX_DIR directory and use the configuration files from the PREFIX_DIR directory. This option does not chroot and is intended for preparing a cross-compilation target. Some limitations: NIS and LDAP users/groups are not verified. PAM authentication is using the host files. No SELINUX support. CAVEATS You may not remove the primary group of any existing user. You must remove the user before you remove the group. You should manually check all file systems to ensure that no files remain owned by this group. CONFIGURATION The following configuration variables in /etc/login.defs change the behavior of this tool: &MAX_MEMBERS_PER_GROUP; FILES /etc/group Group account information. /etc/gshadow Secure group account information. EXIT VALUES The groupdel command exits with the following values: 0 success 2 invalid command syntax 6 specified group doesn't exist 8 can't remove user's primary group 10 can't update group file SEE ALSO chfn1 , chsh1 , passwd1 , gpasswd8 , groupadd8 , groupmod8 , useradd8 , userdel8 , usermod8 .