3 kadb_check - Checks the integrity of the Authentication Database
10 B<kadb_check> S<<< B<-database> <I<kadb file>> >>> [B<-uheader>] [B<-kheader>]
11 [B<-entries>] [B<-verbose>] S<<< [B<-rebuild> <I<out file>>] >>> [B<-help>]
13 B<kadb_check> S<<< B<-d> <I<kadb file>> >>> [B<-u>] [B<-k>] [B<-e>] [B<-v>]
14 S<<< [B<-r> <I<out file>>] >>> [B<-h>]
21 The B<kadb_check> command checks the integrity of the Protection Database,
22 reporting any errors or corruption it finds. If there are problems, do not
23 issue any B<kas> commands until the database is repaired.
27 The results can be unpredictable if the Authentication Server makes
28 changes to the Authentication Database while this command is running. Use
29 the B<bos shutdown> command to shutdown the local B<kaserver> process
30 before running this command, or before creating a second copy of the
31 F<kaserver.DB0> file (with a different name) on which to run the command.
37 =item B<-database> <I<kadb file>>
39 Names the Authentication Database (copy of the F<kaserver.DB0> file) to
40 check. If the current working directory is not the location of the file,
41 provide a pathname, either full or relative to the current working
46 Displays information which Ubik maintains in the database's header.
50 Displays information which the Authentication Server maintains in the
55 Outputs every entry in the database, providing information similar to that
56 returned by the B<kas examine> command.
60 Reports additional information about the database, including the number of
61 free (allocated but unused) entries in the database.
63 =item B<-rebuild> <I<out file>>
65 Names the file in which to record a list of B<kas> commands which, if
66 issued in the command shell, recreate the current state of the database
67 being verified. Partial pathnames are interpreted relative to the current
72 Prints the online help for this command. All other valid options are
79 If there are errors in the database, the output always reports them on the
80 standard error stream. If any options other than B<-database> or B<-help>
81 are provided, the output written to the standard output stream includes
82 additional information as described for each option in L<OPTIONS>. The
83 output is intended for debugging purposes and is meaningful to someone
84 familiar with the internal structure of the Authentication Database.
86 =head1 PRIVILEGE REQUIRED
88 The issuer must be logged in as the local superuser C<root>.
99 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
101 This documentation is covered by the IBM Public License Version 1.0. It was
102 converted from HTML to POD by software written by Chas Williams and Russ
103 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.