pwck(1M) DG/UX R4.11MU05 pwck(1M)
NAME
pwck, grpck - check password or group file
SYNOPSIS
/etc/pwck [file]
/etc/grpck [file]
where:
file The pathname of a password or group file; default =
/etc/passwd for pwck, /etc/group for grpck.
DESCRIPTION
Pwck scans the password file file and notes any inconsistencies. The
checks include validation of the number of fields, login name, user
ID, group ID, and whether the login directory and optional program-
to-use-as-shell exist. The criteria for determining a valid login
name are described in Managing the DG/UX (Trademark) System.
Grpck verifies all entries in the group file. This verification
includes a check of the number of fields, group name, group ID,
whether any login names belong to more than NGROUPS_MAX groups and
that all login names appear in the password file. The fields for the
password and login names may be empty.
FILES
/etc/group
/etc/passwd
DIAGNOSTICS
For each line with some inconsistency, the line is displayed followed
by an explanation of the problem.
SEE ALSO
group(4), passwd(4), and Managing the DG/UX (Trademark) System.
NOTE
DG/UX (Trademark) supports some characters in user login names that
are identified as invalid by pwck. These characters include '_',
'.', and '-'.
Licensed material--property of copyright holder(s)