grpck(1M) grpck(1M)
grpck - group file checker
grpck [ file ]
grpck verifies all entries in the group file, file. This verification
includes a check of: the number of fields, group name, group ID, whether
all login names appear in the password file, duplicate logname entries,
and maximum number of groups per logname. The default group file is
/etc/group.
grpck has the ability to parse YP entries in the group file.
/etc/group
group(4), passwd(4).
Too many/few fields
An entry in the group file does not have the proper number of
fields.
No group name
The group name field of an entry is empty.
Bad character(s) in group name
The group name in an entry contains characters that are unprintable
(see isprint(3C)).
Invalid GID
The group ID field in an entry is not numeric or is less than 0 or
greater than 65535.
Null login name
A login name in the list of login names in an entry is null.
Login name not found in password file
A login name in the list of login names in an entry is not in the
password file.
Duplicate logname entry
A login name in the list of login names has already been assigned to
that group, either by a previous group with the same group ID or the
default group that was set in the password file or the login name is
in the same group entry multiple times.
Page 1
grpck(1M) grpck(1M)
Maximum groups exceeded for logname
Number of groups assigned to single login name has been exceeded
(See sysconf(1) - NGROUPS_MAX).
Out of memory
Failure to malloc memory.
PPPPaaaaggggeeee 2222 [ Back ]
|