Groupdel

来自 ChinaUnix Wiki

Linux命令:groupdel

功能说明:删除群组。
语  法:groupdel [群组名称]
补充说明:需要从系统上删除群组时,可用groupdel指令来完成这项工作。倘若该群组中仍包括某些用户,则必须先删除这些用户后,方能删除群组。 


英文版本,欢迎翻译:

NAME groupdel - Delete a group

SYNOPSIS groupdel group

DESCRIPTION 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.

CAVEATS You may not remove the primary group of any existing user. You must remove the user before you remove the group.

FILES /etc/group - group information /etc/gshadow - secure group information

SEE ALSO chfn(1), chsh(1), useradd(8), userdel(8), usermod(8), passwd(1), groupadd(8), groupmod(8)

AUTHOR Julianne Frances Haugh (jfh@austin.ibm.com)

个主工具