unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

PWCK(8V)                                                              PWCK(8V)



NAME
       pwck - check password database entries

SYNOPSIS
       /usr/etc/pwck [ filename ]

AVAILABILITY
       This  command  is  available  with  the  System V software installation
       option.  Refer to for information on how to install optional software.

DESCRIPTION
       pwck checks that a file in passwd(5) does not contain  any  errors;  it
       checks the /etc/passwd file by default.

FILES
       /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 let-
              ter.

       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
              The entry is a Network Information Service (NIS) entry referring
              to a netgroup, but no netgroup is present.

       Bad character(s) in netgroup name
              The netgroup name in an NIS entry contains characters other than
              lower-case letters and digits.

       First char in netgroup name not lower case alpha
              The netgroup name in an NIS entry does not begin with  a  lower-
              case letter.

SEE ALSO
       group(5), passwd(5)

NOTES
       The  Network Information Service (NIS) was formerly known as Sun Yellow
       Pages (YP).  The functionality of the two remains the  same;  only  the
       name has changed.



                               17 September 1989                      PWCK(8V)