pwck, grpck - password/group file checkers
scans fields in the password and shadow files and reports any inconsis‐
tencies to standard error. The checks include validation of the number
of fields, login name, user ID, group ID, and whether the login direc‐
tory and optional program exist. In addition, if the root entry shows
a program, it can only be one of: or The default password file is The
default shadow file is For additional verification, use to check con‐
sistency between entries in the password and shadow files.
verifies all entries in the group file and reports any inconsistencies
to standard error. This verification includes a check of the number of
fields, group name, group ID, and whether all login names appear in the
password file. The default group file is
recognizes the following options:
Check inconsistencies with the Protected Password database.
Check encrypted password lengths that are greater than 8 charac‐
Group entries in with no login names are flagged.
Successful password file validation is not sufficient for proper system
operation. To help maintain consistency with other system databases,
editing of the password file with is discouraged. HP recommends that
you use or to edit
HP-UX 11i Version 3 is the last release to support trusted systems
and check only the local password, shadow and group files. The Network
Information Service database is not checked.
was developed by AT&T and HP.
FILESSEE ALSOauthck(1M), pwconv(1M), vipw(1M), group(4), passwd(4), shadow(4).