pwck
PURPOSE
Checks the password and group files for inconsistencies.
SYNOPSIS
pwck [ file ]
grpck [ file ]
DESCRIPTION
The pwck command scans the named file or the default file
/etc/passwd and writes to standard output any inconsist-
encies. The checks include validation of the number of
fields, login name, user ID, group ID, and existence of
the login directory and optional program name.
The grpck command scans the named file or the default
file /etc/group and writes to standard output any incon-
sistencies. The checks include validation of the number
of fields, group name, group ID, and whether all login
names appear in the password file. grpck writes to
standard output any group entries that do not have login
names.
FILES
/etc/passwd Password file; contains user ids.
/etc/group Group file; contains group ids.
RELATED INFORMATION
The following commands: "groups," "passwd," and "users,
adduser."
The discussion of passwords in Managing the AIX Operating
System.