Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adduser(8)

groups(1)

passwd(1)

vipw(8)

pwck(8)  —  Maintenance

OSF

NAME

pwck, grpck − Checks the password and group files for inconsistencies

SYNOPSIS

pwck [file]

grpck [file]

DESCRIPTION

The pwck command scans the /etc/passwd file, or the named file, and writes to standard output any inconsistencies.  The scan checks the number of fields, login name, user ID, group ID, and existence of a login directory and optional program name. 

The grpck command scans the /etc/group file, or the named file, and writes to standard output any inconsistencies.  The scan checks the number of fields, group name, group ID, and whether all login names appear in the password file.  grpck writes to standard output any group entries that do not have login names. 

EXAMPLES

To verify the password information in the /etc/passwd file for consistency, enter:

pwck

FILES

/usr/sbin/pwck
Specifies the command path

/usr/sbin/grpck
Specifies the command path

/etc/passwd
Contains user information

/etc/groupContains group information

RELATED INFORMATION

Commands:  adduser(8), groups(1), passwd(1), vipw(8)

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