1 <?xml version="1.0" encoding="UTF-8"?>
4 <refentrytitle>kdb</refentrytitle>
5 <manvolnum>8</manvolnum>
9 <refpurpose>Displays log or privileged actions performed by the Authentication Server</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">kdb</emphasis> [<emphasis role="bold">-dbmfile</emphasis> <<emphasis>dbmfile to use (default /usr/afs/logs/AuthLog)</emphasis>>]
14 [<emphasis role="bold">-key</emphasis> <<emphasis>extract entries that match specified key</emphasis>>] [<emphasis role="bold">-help</emphasis>]</para>
18 <title>Description</title>
19 <para>The <emphasis role="bold">kdb</emphasis> command displays the contents of the <replaceable>AuthLog.dir</replaceable> and
20 <replaceable>AuthLog.pag</replaceable> files associated with the <replaceable>AuthLog</replaceable> file that resides on
21 the local disk, by default in the <replaceable>/usr/afs/logs</replaceable> directory. The files
22 must exist in that directory, which normally implies that the
23 Authentication Server is running on the machine. The files contain
24 information on privileged actions performed by the Authentication Server.</para>
28 <title>Cautions</title>
29 <para>It is possible that on some operating systems that AFS otherwise supports,
30 the Authentication Server cannot create the <replaceable>/usr/afs/logs/AuthLog.dir</replaceable>
31 and <replaceable>/usr/afs/logs/AuthLog.pag</replaceable> files, making this command
32 inoperative. See the <emphasis>IBM AFS Release Notes</emphasis> for details.</para>
36 <title>Options</title>
39 <term><emphasis role="bold">-dbmfile</emphasis> <<emphasis>dbmfile to use</emphasis>></term>
41 <para>Specifies the pathname of the file to display. Provide either a complete
42 pathname, a pathname relative to the <replaceable>/usr/afs/logs</replaceable> directory, or a
43 filename only, in which case the file must reside in the <replaceable>/usr/afs/logs</replaceable>
44 directory. Omit this argument to display information from the
45 <replaceable>AuthLog.dir</replaceable> and <replaceable>AuthLog.pag</replaceable> files in the <replaceable>/usr/afs/logs</replaceable> directory.</para>
50 <term><emphasis role="bold">-key</emphasis> <<emphasis>extract entries that match specified key</emphasis>></term>
52 <para>Specifies each entry to be displayed from the indicated file.</para>
57 <term><emphasis role="bold">-help</emphasis></term>
59 <para>Prints the online help for this command. All other valid options are
68 <para>The first line of output indicates the location of the files from which
69 the subsequent information is derived:</para>
72 Printing all entries found in &lt;file_location&gt;
75 <para>Each entry then includes the following two fields, separated by a colon:</para>
79 <term>user/server</term>
81 <para>Identifies the user requesting the corresponding service and the server
82 that performed that service. In cases where no user is directly involved,
83 only the server appears; in cases where no server is directly involved,
84 only the user appears.</para>
91 <para>Identifies one of the following actions or services performed by the user
92 or server process.</para>
96 <para><computeroutput>auth</computeroutput>: Obtained a ticket-granting ticket.</para>
100 <para><computeroutput>chp</computeroutput>: Changed a user password.</para>
104 <para><computeroutput>cruser</computeroutput>: Created a user entry in the Authentication Database.</para>
108 <para><computeroutput>delu</computeroutput>: Deleted a user entry from the Authentication Database.</para>
112 <para><computeroutput>gtck</computeroutput>: Obtained a ticket other than a ticket-granting ticket.</para>
116 <para><computeroutput>setf</computeroutput>: Set fields in an Authentication Database entry.</para>
120 <para><computeroutput>unlok</computeroutput>: Unlocked an Authentication Database entry.</para>
127 <para>The final line of output sums the number of entries.</para>
131 <title>Examples</title>
132 <para>The following example shows the output of the <emphasis role="bold">kdb</emphasis> command in the ABC
133 Corporation cell (<computeroutput>abc.com</computeroutput>):</para>
137 Printing all entries found in /usr/afs/logs/AuthLog
138 admin,krbtgt.ABC.COM:auth
147 <title>Privilege Required</title>
148 <para>The issuer must be logged in as the local superuser <computeroutput>root</computeroutput>.</para>
152 <title>See Also</title>
153 <para><link linkend="AuthLog_dir5">AuthLog.dir(5)</link>,
154 <link linkend="bos_getlog8">bos_getlog(8)</link>,
155 <link linkend="kaserver8">kaserver(8)</link></para>
159 <title>Copyright</title>
160 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
162 <para>This documentation is covered by the IBM Public License Version 1.0. It was
163 converted from HTML to POD by software written by Chas Williams and Russ
164 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>