2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
kadb_check - Checks the integrity of the Authentication Database
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<kadb_check> S<<< B<-database> <I<kadb file>> >>> [B<-uheader>] [B<-kheader>]
|
|
|
|
[B<-entries>] [B<-verbose>] S<<< [B<-rebuild> <I<out file>>] >>> [B<-help>]
|
|
|
|
|
|
|
|
B<kadb_check> S<<< B<-d> <I<kadb file>> >>> [B<-u>] [B<-k>] [B<-e>] [B<-v>]
|
|
|
|
S<<< [B<-r> <I<out file>>] >>> [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<kadb_check> command checks the integrity of the Protection Database,
|
|
|
|
reporting any errors or corruption it finds. If there are problems, do not
|
|
|
|
issue any B<kas> commands until the database is repaired.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The results can be unpredictable if the Authentication Server makes
|
|
|
|
changes to the Authentication Database while this command is running. Use
|
|
|
|
the B<bos shutdown> command to shutdown the local B<kaserver> process
|
|
|
|
before running this command, or before creating a second copy of the
|
|
|
|
F<kaserver.DB0> file (with a different name) on which to run the command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-database> <I<kadb file>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names the Authentication Database (copy of the F<kaserver.DB0> file) to
|
|
|
|
check. If the current working directory is not the location of the file,
|
|
|
|
provide a pathname, either full or relative to the current working
|
|
|
|
directory.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-uheader>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Displays information which Ubik maintains in the database's header.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-kheader>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Displays information which the Authentication Server maintains in the
|
|
|
|
database's header.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-entries>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Outputs every entry in the database, providing information similar to that
|
|
|
|
returned by the B<kas examine> command.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-verbose>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Reports additional information about the database, including the number of
|
|
|
|
free (allocated but unused) entries in the database.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-rebuild> <I<out file>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names the file in which to record a list of B<kas> commands which, if
|
|
|
|
issued in the command shell, recreate the current state of the database
|
|
|
|
being verified. Partial pathnames are interpreted relative to the current
|
|
|
|
working directory.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
|
|
|
If there are errors in the database, the output always reports them on the
|
2005-12-13 19:21:13 +00:00
|
|
|
standard error stream. If any options other than B<-database> or B<-help>
|
|
|
|
are provided, the output written to the standard output stream includes
|
|
|
|
additional information as described for each option in L<OPTIONS>. The
|
|
|
|
output is intended for debugging purposes and is meaningful to someone
|
|
|
|
familiar with the internal structure of the Authentication Database.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The issuer must be logged in as the local superuser C<root>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<kaserver.DB0(5)>,
|
|
|
|
L<bos_shutdown(8)>,
|
|
|
|
L<kas_examine(8)>,
|
|
|
|
L<kaserver(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|