1grpck(1B) SunOS/BSD Compatibility Package Commands grpck(1B)
2
3
4
6 grpck - check group database entries
7
9 /etc/grpck [filename]
10
11
13 The grpck utility checks that a file in group(4) does not contain any
14 errors; it checks the /etc/group file by default.
15
17 /etc/group
18
20 See attributes(5) for descriptions of the following attributes:
21
22
23
24
25 ┌─────────────────────────────┬─────────────────────────────┐
26 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
27 ├─────────────────────────────┼─────────────────────────────┤
28 │Availability │SUNWcsu │
29 └─────────────────────────────┴─────────────────────────────┘
30
32 groups(1), group(4), passwd(4), attributes(5)
33
35 Too many/few fields
36
37 An entry in the group file does not have the proper number of
38 fields.
39
40
41 No group name
42
43 The group name field of an entry is empty.
44
45
46 Bad character(s) in group name
47
48 The group name in an entry contains characters other than lower-
49 case letters and digits.
50
51
52 Invalid GID
53
54 The group ID field in an entry is not numeric or is greater than
55 65535.
56
57
58 Null login name
59
60 A login name in the list of login names in an entry is null.
61
62
63 Logname not found in password file
64
65 A login name in the list of login names in an entry is not in the
66 password file.
67
68
69 Line too long
70
71 A line (including the newline character) in the group file exceeds
72 the maximum length of 512 characters.
73
74
75 Duplicate logname entry
76
77 A login name appears more than once in the list of login names for
78 a group file entry.
79
80
81 Out of memory
82
83 The program cannot allocate memory in order to continue.
84
85
86 Maximum groups exceeded for logname
87
88 A login name's group membership exceeds the maximum, NGROUPS_MAX.
89
90
91
92
93SunOS 5.11 10 Jan 2000 grpck(1B)