darwin-build-updates-20010910
[openafs.git] / doc / html / AdminReference / auarf197.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf196.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf198.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
17 <P>
18 <H2><A NAME="HDRKAS_UNLOCK" HREF="auarf002.htm#ToC_211">kas unlock</A></H2>
19 <A NAME="IDX5167"></A>
20 <A NAME="IDX5168"></A>
21 <A NAME="IDX5169"></A>
22 <P><STRONG>Purpose</STRONG>
23 <P>Unlocks a locked user account
24 <P><STRONG>Synopsis</STRONG>
25 <PRE><B>kas unlock -name</B> &lt;<VAR>authentication&nbsp;ID</VAR>>  
26            [<B>-admin_username</B> &lt;<VAR>admin&nbsp;principal&nbsp;to&nbsp;use&nbsp;for&nbsp;authentication</VAR>>] 
27            [<B>-password_for_admin</B> &lt;<VAR>admin&nbsp;password</VAR>>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>] 
28            [<B>-servers</B> &lt;<VAR>explicit&nbsp;list&nbsp;of&nbsp;authentication&nbsp;servers</VAR>><SUP>+</SUP>]
29            [<B>-noauth</B>]  [<B>-help</B>]
30          
31 <B>kas u -na</B> &lt;<VAR>authentication&nbsp;ID</VAR>>  
32       [<B>-a</B> &lt;<VAR>admin&nbsp;principal&nbsp;to&nbsp;use&nbsp;for&nbsp;authentication</VAR>>] 
33       [<B>-p</B> &lt;<VAR>admin&nbsp;password</VAR>>]  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] 
34       [<B>-s</B> &lt;<VAR>explicit&nbsp;list&nbsp;of&nbsp;authentication&nbsp;servers</VAR>><SUP>+</SUP>]  [<B>-no</B>]  [<B>-h</B>]
35 </PRE>
36 <P><STRONG>Description</STRONG>
37 <P>The <B>kas unlock</B> command unlocks the Authentication Database entry
38 named by the <B>-name</B> argument. An entry becomes locked when
39 the user exceeds the limit on failed authentication attempts, generally by
40 providing the wrong password to either an AFS-modified login utility or the
41 <B>klog</B> command. Use the <B>kas setfields</B> command to
42 set the limit and the lockout time, and the <B>kas examine</B> command to
43 examine the settings.
44 <P>To unlock all locked user accounts at once, shutdown the
45 <B>kaserver</B> process on every database server machine, and remove the
46 <B>/usr/afs/local/kaauxdb</B> file from each one. The
47 <B>kaserver</B> process recreates the file as it restarts.
48 <P><STRONG>Options</STRONG>
49 <DL>
50 <P><DT><B>-name
51 </B><DD>Names the Authentication Database entry to unlock.
52 <P><DT><B>-admin_username
53 </B><DD>Specifies the user identity under which to authenticate with the
54 Authentication Server for execution of the command. For more details,
55 see the introductory <B>kas</B> reference page.
56 <P><DT><B>-password_for_admin
57 </B><DD>Specifies the password of the command's issuer. If it is
58 omitted (as recommended), the <B>kas</B> command interpreter prompts for
59 it and does not echo it visibly. For more details, see the introductory
60 <B>kas</B> reference page.
61 <P><DT><B>-cell
62 </B><DD>Names the cell in which to run the command. For more details, see
63 the introductory <B>kas</B> reference page.
64 <P><DT><B>-servers
65 </B><DD>Names each machine running an Authentication Server with which to
66 establish a connection. For more details, see the introductory
67 <B>kas</B> reference page.
68 <P><DT><B>-noauth
69 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
70 issuer. For more details, see the introductory <B>kas</B> reference
71 page.
72 <P><DT><B>-help
73 </B><DD>Prints the online help for this command. All other valid options
74 are ignored.
75 </DL>
76 <P><STRONG>Examples</STRONG>
77 <P>In the following example, an administrator using the <B>admin</B>
78 account unlocks the entry for <B>jones</B>:
79 <PRE>   % <B>kas unlock -name jones -admin_username admin</B>
80    Administrator's (admin) Password:
81    
82 </PRE>
83 <P><STRONG>Privilege Required</STRONG>
84 <P>The issuer must have the <TT>ADMIN</TT> flag set on his or her
85 Authentication Database entry.
86 <P><STRONG>Related Information</STRONG>
87 <P><A HREF="auarf181.htm#HDRKAS_INTRO">kas</A>
88 <P><A HREF="auarf185.htm#HDRKAS_EXAMINE">kas examine</A>
89 <P><A HREF="auarf193.htm#HDRKAS_SETFIELDS">kas setfields</A>
90 <P><A HREF="auarf200.htm#HDRKLOG">klog</A>
91 <P>
92 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf196.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf198.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
93 <!-- Begin Footer Records  ========================================== -->
94 <P><HR><B> 
95 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
96 </B> 
97 <!-- End Footer Records  ============================================ -->
98 <A NAME="Bot_Of_Page"></A>
99 </BODY></HTML>