pwck(1M-ucb) (BSD Compatibility Package) pwck(1M-ucb)
NAME
pwck - check password database entries
SYNOPSIS
/usr/ucb/pwck [filename]
DESCRIPTION
pwck checks a password file for errors. If specified, filename is
checked, otherwise /etc/passwd is checked.
This command differs from /usr/sbin/pwck in its ability to correctly
parse YP entries in /etc/passwd.
DIAGNOSTICS
Too many/few fields
An entry in the password file does not have the proper number of
fields.
No login name
The login name field of an entry is empty.
Bad character(s) in login name
The login name in an entry contains characters other than lower-
case letters and digits.
First char in login name not lowercase alpha
The login name in an entry does not begin with a lowercase
letter.
Login name too long
The login name in an entry has more than 8 characters.
Invalid UID
The user ID field in an entry is not numeric or is greater than
65535.
Invalid GID
The group ID field in an entry is not numeric or is greater than
65535.
No login directory
The login directory field in an entry is empty.
Login directory not found
The login directory field in an entry refers to a directory that
does not exist.
Optional shell file not found.
The login shell field in an entry refers to a program or shell
script that does not exist.
Page 1 Reliant UNIX 5.44 Printed 11/98
pwck(1M-ucb) (BSD Compatibility Package) pwck(1M-ucb)
No netgroup name
The entry is a YP entry referring to a netgroup, but no netgroup
is present.
Bad character(s) in netgroup name
The netgroup name in a YP entry contains characters other than
lowercase letters and digits.
First char in netgroup name not lowercase alpha
The netgroup name in a Yellow pages entry does not begin with a
lowercase letter.
FILES
/etc/passwd
SEE ALSO
group(4), passwd(4).
Page 2 Reliant UNIX 5.44 Printed 11/98