Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pwck(1m) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

group(4)

passwd(4)



pwck(1M-BSD)      MISC. REFERENCE MANUAL PAGES       pwck(1M-BSD)



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.

     No netgroup name



                                                                1





pwck(1M-BSD)      MISC. REFERENCE MANUAL PAGES       pwck(1M-BSD)



          The entry is a Yellow Pages entry referring to  a  net-
          group, 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.






































                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026