1groupdel(1M)            System Administration Commands            groupdel(1M)
2
3
4

NAME

6       groupdel - delete a group definition from the system
7

SYNOPSIS

9       /usr/sbin/groupdel group
10
11

DESCRIPTION

13       The  groupdel  utility  deletes  a group definition from the system. It
14       deletes the appropriate entry from the /etc/group file.
15

OPERANDS

17       group    An existing group name to be deleted.
18
19

EXIT STATUS

21       The following exit values are returned:
22
23       0     Success.
24
25
26       2     Invalid command syntax. A usage message for the groupdel  command
27             is displayed.
28
29
30       6     group does not exist.
31
32
33       10    Cannot update the /etc/group file.
34
35

FILES

37       /etc/group    system file containing group definitions
38
39

ATTRIBUTES

41       See attributes(5) for descriptions of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Availability                 │SUNWcsu                      │
50       └─────────────────────────────┴─────────────────────────────┘
51

SEE ALSO

53       users(1B),   groupadd(1M),   groupmod(1M),   logins(1M),   useradd(1M),
54       userdel(1M), usermod(1M), attributes(5)
55

NOTES

57       The groupdel utility only deletes a group definition  that  is  in  the
58       local  /etc/group file. If a network nameservice such as NIS or NIS+ is
59       being used to supplement the  local  /etc/group  file  with  additional
60       entries,  groupdel  cannot  change  information supplied by the network
61       nameservice.
62
63
64       groupdel fails if a group entry (a single line in  /etc/group)  exceeds
65       2047 characters.
66
67
68
69SunOS 5.11                        27 Aug 2008                     groupdel(1M)
Impressum