PASSWD.CHK
Section: User Commands (1)
Updated: January 7th, 1991
Index
Return to Main Contents
NAME
passwd.chk - Checks password file(s) for inconsistencies.
SYNOPSIS
passwd.chk
DESCRIPTION
passwd.chk
checks the password files -- /etc/passwd and yppasswd if yellow pages are being
used -- for incorrect number of fields, duplicate ids, non-alphanumeric
login names, nonnumeric user ids', users with uid = 0 and not root, blank lines,
accounts with no passwords, invalid login directories, and non-numeric
password id's. If you run C2 sun security, or have uid's of greater than
length 8 characters, you need to change "C2=TRUE" and "OVER_8=YES", on lines
46 and 50, respectively.
FILES
/etc/passwd
passwd.chk uses the process id as a temporary file name for the ypchecking.
SEE ALSO
passwd(5)
Awk part based on passwd from The AWK Programming Language, page 78.
BUGS
It doesn't use the exact syntax of yellow pages to check for errors.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 23:44:35 GMT, February 06, 2023