PWCK(8)
NAME
pwck, grpck − password/group file checkers
USAGE
/etc/pwck [file]
/etc/grpck [file]
DESCRIPTION
Pwck scans the password file and reports any inconsistencies. The checks that it makes include validating the number of fields, log-in name, user ID, group ID, and whether the log-in directory and optional program name exist. The default password file is /etc/passwd.
Grpck verifies all entries in the group file. This verification includes a check of the number of fields, group name, group ID, and whether all log-in names appear in the password file. The default group file is /etc/group.
DIAGNOSTICS
Group entries in /etc/group that have no log-in names associated with them are flagged.
FILES
/etc/group
/etc/passwd