PWCK, GRPCK(8,C) AIX Commands Reference PWCK, GRPCK(8,C)
-------------------------------------------------------------------------------
pwck, grpck
PURPOSE
Checks the password and group files for inconsistencies.
SYNTAX
+- /etc/passwd -+
pwck ---| |---|
+---- file -----+
+- /etc/group -+
grpck ---| |---|
+---- file ----+
DESCRIPTION
The pwck command scans the named file or the default file /etc/passwd and
writes to standard output any inconsistencies. The checks include validation
of the number of fields, login name, user ID, group ID, and existence of the
login directory and optional program name.
The grpck command scans the named file or the default file /etc/group and
writes to standard output any inconsistencies. The checks include validation
of 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.
FILES
/etc/passwd Password file; contains user IDs.
/etc/group Group file; contains group IDs.
RELATED INFORMATION
See the following commands: "groups," "passwd, chfn, chsh," and "adduser,
users."
See the discussion of passwords in Managing the AIX Operating System.
Processed November 8, 1990 PWCK, GRPCK(8,C) 1