1GROUPDEL(8) System Management Commands GROUPDEL(8)
2
3
4
6 groupdel - delete a group
7
9 groupdel group
10
12 The groupdel command modifies the system account files, deleting all
13 entries that refer to group. The named group must exist.
14
15 You must manually check all file systems to insure that no files remain
16 with the named group as the file group ID.
17
19 You may not remove the primary group of any existing user. You must
20 remove the user before you remove the group.
21
23 /etc/group
24 Group account information.
25
26 /etc/gshadow
27 Secure group account information.
28
30 The groupdel command exits with the following values:
31
32 0 success
33
34 2 invalid command syntax
35
36 6 specified group doesn’t exist
37
38 8 can't remove user's primary group
39
40 10 can't update group file
41
43 chfn(1), chsh(1), passwd(1), gpasswd(8), groupadd(8), groupmod(8),
44 useradd(8), userdel(8), usermod(8)
45
46
47
48System Management Commands 07/30/2006 GROUPDEL(8)