openafs/doc/xml/AdminReference/sect8/kas_unlock.xml
Chas Williams 52557c982e xml-docbook-documentation-first-pass-20060915
needs more massaging to make it fit the tree, but, get it here first
2006-09-16 01:13:22 +00:00

137 lines
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<refentry id="kas_unlock8">
<refmeta>
<refentrytitle>kas unlock</refentrytitle>
<manvolnum>8</manvolnum>
</refmeta>
<refnamediv>
<refname>kas unlock</refname>
<refpurpose>Unlocks a locked user account</refpurpose>
</refnamediv>
<refsect1>
<title>Synopsis</title>
<para><emphasis role="bold">kas unlock</emphasis> <emphasis role="bold">-name</emphasis> &lt;<emphasis>authentication ID</emphasis>&gt;
[<emphasis role="bold">-admin_username</emphasis> &lt;<emphasis>admin principal to use for authentication</emphasis>&gt;]
[<emphasis role="bold">-password_for_admin</emphasis> &lt;<emphasis>admin password</emphasis>&gt;] [<emphasis role="bold">-cell</emphasis> &lt;<emphasis>cell name</emphasis>&gt;]
[<emphasis role="bold">-servers</emphasis> &lt;<emphasis>explicit list of authentication servers</emphasis>&gt;+]
[<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
<para><emphasis role="bold">kas u</emphasis> <emphasis role="bold">-na</emphasis> &lt;<emphasis>authentication ID</emphasis>&gt;
[<emphasis role="bold">-a</emphasis> &lt;<emphasis>admin principal to use for authentication</emphasis>&gt;]
[<emphasis role="bold">-p</emphasis> &lt;<emphasis>admin password</emphasis>&gt;] [<emphasis role="bold">-c</emphasis> &lt;<emphasis>cell name</emphasis>&gt;]
[<emphasis role="bold">-s</emphasis> &lt;<emphasis>explicit list of authentication servers</emphasis>&gt;+] [<emphasis role="bold">-no</emphasis>] [<emphasis role="bold">-h</emphasis>]</para>
</refsect1>
<refsect1>
<title>Description</title>
<para>The <emphasis role="bold">kas unlock</emphasis> command unlocks the Authentication Database entry named
by the <emphasis role="bold">-name</emphasis> argument. An entry becomes locked when the user exceeds
the limit on failed authentication attempts, generally by providing the
wrong password to either an AFS-modified login utility or the <emphasis role="bold">klog</emphasis>
command. Use the <emphasis role="bold">kas setfields</emphasis> command to set the limit and the lockout
time, and the <emphasis role="bold">kas examine</emphasis> command to examine the settings.</para>
<para>To unlock all locked user accounts at once, shutdown the <emphasis role="bold">kaserver</emphasis>
process on every database server machine, and remove the
<replaceable>/usr/afs/local/kaauxdb</replaceable> file from each one. The <emphasis role="bold">kaserver</emphasis> process
recreates the file as it restarts.</para>
</refsect1>
<refsect1>
<title>Options</title>
<variablelist>
<varlistentry>
<term><emphasis role="bold">-name</emphasis> &lt;<emphasis>authentication ID</emphasis>&gt;</term>
<listitem>
<para>Names the Authentication Database entry to unlock.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-admin_username</emphasis> &lt;<emphasis>admin principal</emphasis>&gt;</term>
<listitem>
<para>Specifies the user identity under which to authenticate with the
Authentication Server for execution of the command. For more details, see
<link linkend="kas8">kas(8)</link>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-password_for_admin</emphasis> &lt;<emphasis>admin password</emphasis>&gt;</term>
<listitem>
<para>Specifies the password of the command's issuer. If it is omitted (as
recommended), the <emphasis role="bold">kas</emphasis> command interpreter prompts for it and does not
echo it visibly. For more details, see <link linkend="kas8">kas(8)</link>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-cell</emphasis> &lt;<emphasis>cell name</emphasis>&gt;</term>
<listitem>
<para>Names the cell in which to run the command. For more details, see
<link linkend="kas8">kas(8)</link>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-servers</emphasis> &lt;<emphasis>authentication servers</emphasis>&gt;+</term>
<listitem>
<para>Names each machine running an Authentication Server with which to
establish a connection. For more details, see <link linkend="kas8">kas(8)</link>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-noauth</emphasis></term>
<listitem>
<para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. For more
details, see <link linkend="kas8">kas(8)</link>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">-help</emphasis></term>
<listitem>
<para>Prints the online help for this command. All other valid options are
ignored.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>Examples</title>
<para>In the following example, an administrator using the <computeroutput>admin</computeroutput> account
unlocks the entry for <computeroutput>jones</computeroutput>:</para>
<programlisting>
% kas unlock -name jones -admin_username admin
Administrator's (admin) Password:
</programlisting>
</refsect1>
<refsect1>
<title>Privilege Required</title>
<para>The issuer must have the <computeroutput>ADMIN</computeroutput> flag set on his or her Authentication
Database entry.</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para><link linkend="kas8">kas(8)</link>,
<link linkend="kas_examine8">kas_examine(8)</link>,
<link linkend="kas_setfields8">kas_setfields(8)</link>,
<link linkend="klog1">klog(1)</link></para>
</refsect1>
<refsect1>
<title>Copyright</title>
<para>IBM Corporation 2000. &lt;http://www.ibm.com/&gt; All Rights Reserved.</para>
<para>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.</para>
</refsect1>
</refentry>