pwck(1M) pwck(1M)
NAME
pwck, grpck - password/group file checkers
SYNOPSIS
/usr/sbin/pwck [file]
/usr/sbin/grpck [file]
DESCRIPTION
pwck scans the password file and notes any inconsistencies. The checks
include validation of the number of fields, login name, user ID, group
ID, and whether the login directory and the program-to-use-as-shell
exist. The default password file is /etc/passwd.
grpck verifies all entries in the group file. This verification
includes a check of the number of fields, group name, group ID,
whether any login names belong to more than NGROUPSMAX groups and
that all login names appear in the password file. The default group
file is /etc/group.
DIAGNOSTICS
Group entries in /etc/group with no login names are flagged.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed.
The LCCTYPE environment variable governs character classes, character
conversion (shifting) and the behavior of character classes in regular
expressions.
If LCMESSAGES or LCCTYPE is undefined or is defined as the null
string, it defaults to the value of LANG. If LANG is likewise unde-
fined or null, the system acts as if it were not internationalized.
If any of the locale variables has an invalid value, the system acts
as if none of the variables was set.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
FILES
/etc/group
/etc/passwd
SEE ALSO
group(4), passwd(4).
Page 1 Reliant UNIX 5.44 Printed 11/98