hpux 10.20 - pwck (1)
NAME
pwck, grpck - password/group file checkers
SYNOPSIS
/usr/sbin/pwck [file]
/usr/sbin/grpck [file]
DESCRIPTION
pwck scans the default password file or file and reports any
inconsistencies to standard error. The checks include validation of
the number of fields, login name, user ID, group ID, and whether the
login directory and optional program name exist. The criteria for
determining a valid login name are described in the HP-UX System
Administrator manuals for your system. The default password file is
/etc/passwd.
grpck 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
/etc/group.
DIAGNOSTICS
Group entries in /etc/group with no login names are flagged.
AUTHOR
pwck was developed by AT&T and HP.
DEPENDENCIES
NFS:
pwck and grpck check only the local password and group files. The
Network Information Service database for password and group files is
not checked.
FILES
/etc/group
/etc/passwd
SEE ALSO
group(4), passwd(4).
STANDARDS CONFORMANCE
pwck: SVID2, SVID3
grpck: SVID2, SVID3