Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pwck(8) — SunOS 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

group(5)

passwd(5)

PWCK(8)  —  MAINTENANCE COMMANDS

NAME

pwck − check password database entries

SYNOPSIS

/usr/etc/pwck [ file ]

DESCRIPTION

Note:Optional Software (System V Option).  Refer to Installing the SunOS for information on how to install this command. 

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 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
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.

SEE ALSO

group(5), passwd(5)

Sun Release 4.0  —  Last change: 17 November 1987

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