August 2000
Intermediate to advanced
816 pages
29h 45m
English
pwck
pwck [option] [files]
System administration command. Remove corrupt or duplicate entries in the /etc/passwd and /etc/shadow files. pwck will prompt for a “yes” or “no” before deleting entries. If the user replies “no,” the program will exit. Alternate passwd and shadow files can be checked. If correctable errors are found, the user will be encouraged to run the usermod command.
Noninteractive mode. Don’t prompt for input, and delete no entries. Return appropriate exit status.
Success.
Syntax error.
One or more bad password entries found.
Could not open password files.
Could not lock password files.
Could not write password files.
Read now
Unlock full access