Content-type: text/html Man page of pwck

pwck

Section: Maintenance Commands (8)
Index Return to Main Contents
 

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

Specifies the command path Specifies the command path Contains user information Contains group information  

RELATED INFORMATION

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:33 GMT, October 02, 2010