Manual Page Result
0
Command: grpck | Section: 8 | Source: Digital UNIX | File: grpck.8.gz
pwck(8) System Manager's Manual pwck(8)
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 lo-
gin 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 ap-
pear 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 consis-
tency, enter: pwck
FILES
Specifies the command path Specifies the command path Contains user in-
formation Contains group information
RELATED INFORMATION
Commands: adduser(8), groups(1), passwd(1), vipw(8) delim off
pwck(8)