System Administration Guide
Chapter 5, Maintaining system security

Database consistency checking: authck(ADM) and addxusers(ADM)

Database consistency checking: authck(ADM) and addxusers(ADM)

The authck(ADM) program checks the consistency of the Authentication database. There are several command line options that restrict the scope of the checking. This example option checks all databases and automatically repairs any inconsistencies found:

authck -a -y

The addxusers(ADM) command has the -e and -s options for checking the consistency of the UNIX account database files: /etc/passwd and /etc/group.

You can use the Reports Manager to generate reports based on these commands. 

Creating UNIX system and TCB account database reports

In the Reports Manager, select Checks and Verifications from the Reports menu.

You have these options:

Check consistency of account databases
This report uses the authck(ADM) command to check each database. When the authck command is executed from the command line, you are given the option of allowing authck to repair any inconsistencies. 

Check validity of /etc/passwd and /etc/group files
This selection does the same checking that is done when a new user is created, executing the addxusers(ADM) command with the -e and -s options. Error messages and warning messages are generated; any error messages must be acted upon.