pwck(1M) (BSD Compatibility Package) pwck(1M)
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 lower case alpha
The login name in an entry does not begin with a lower-case
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.
8/91 Page 1
pwck(1M) (BSD Compatibility Package) pwck(1M)
No netgroup name
The entry is a Yellow Pages entry referring to a netgroup, but
no netgroup is present.
Bad character(s) in netgroup name
The netgroup name in a Yellow Pages entry contains characters
other than lower-case letters and digits.
First char in netgroup name not lower case alpha
The netgroup name in a Yellow pages entry does not begin with a
lower-case letter.
FILES
/etc/passwd
SEE ALSO
group(4), passwd(4) in the System Administrator's Reference Manual.
Page 2 8/91