NAME
groupdel - Delete a group
总览 SYNOPSIS
groupdel group
描述 DESCRIPTION
groupdel 命令会修改系统帐号档,会删除所有指定群组的信息 . 群组名须存在。
你须手动确认一下所有的档案系统确保有没有档案还是没修正群组名变成群组ID。
警告 CAVEATS
如果有任何一个群组的使用者在线上的话就不能移除该群组。 最好先移除使用者后再移除群组。
文件 FILES
/etc/group - group information
/etc/gshadow - secure group information
参见 SEE ALSO
chfn(1), chsh(1), passwd(1), groupadd(8), groupmod(8), useradd(8), userdel(8), usermod(8)
#p#
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), passwd(1), groupadd(8), groupmod(8), useradd(8), userdel(8), usermod(8)