


PASSWD.CHK(1)                                       PASSWD.CHK(1)


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 Lan-
       guage, page 78.

BUGS
       It doesn't use the exact syntax of yellow pages  to  check
       for errors.



























                        January 7th, 1991                       1


