backport to buster
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / kas_unlock.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3kas_unlock - Unlocks a locked user account
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<kas unlock> S<<< B<-name> <I<authentication ID>> >>>
11 S<<< [B<-admin_username> <I<admin principal to use for authentication>>] >>>
12 S<<< [B<-password_for_admin> <I<admin password>>] >>> S<<< [B<-cell> <I<cell name>>] >>>
13 S<<< [B<-servers> <I<explicit list of authentication servers>>+] >>>
14 [B<-noauth>] [B<-help>]
15
16B<kas u> S<<< B<-na> <I<authentication ID>> >>>
17 S<<< [B<-a> <I<admin principal to use for authentication>>] >>>
18 S<<< [B<-p> <I<admin password>>] >>> S<<< [B<-c> <I<cell name>>] >>>
19 S<<< [B<-s> <I<explicit list of authentication servers>>+] >>> [B<-no>] [B<-h>]
20
21=for html
22</div>
23
24=head1 DESCRIPTION
25
26The B<kas unlock> command unlocks the Authentication Database entry named
27by the B<-name> argument. An entry becomes locked when the user exceeds
28the limit on failed authentication attempts, generally by providing the
29wrong password to either an AFS-modified login utility or the B<klog>
30command. Use the B<kas setfields> command to set the limit and the lockout
31time, and the B<kas examine> command to examine the settings.
32
33To unlock all locked user accounts at once, shutdown the B<kaserver>
34process on every database server machine, and remove the
35F</usr/afs/local/kaauxdb> file from each one. The B<kaserver> process
36recreates the file as it restarts.
37
38=head1 OPTIONS
39
40=over 4
41
42=item B<-name> <I<authentication ID>>
43
44Names the Authentication Database entry to unlock.
45
46=item B<-admin_username> <I<admin principal>>
47
48Specifies the user identity under which to authenticate with the
49Authentication Server for execution of the command. For more details, see
50L<kas(8)>.
51
52=item B<-password_for_admin> <I<admin password>>
53
54Specifies the password of the command's issuer. If it is omitted (as
55recommended), the B<kas> command interpreter prompts for it and does not
56echo it visibly. For more details, see L<kas(8)>.
57
58=item B<-cell> <I<cell name>>
59
60Names the cell in which to run the command. For more details, see
61L<kas(8)>.
62
63=item B<-servers> <I<authentication servers>>+
64
65Names each machine running an Authentication Server with which to
66establish a connection. For more details, see L<kas(8)>.
67
68=item B<-noauth>
69
70Assigns the unprivileged identity C<anonymous> to the issuer. For more
71details, see L<kas(8)>.
72
73=item B<-help>
74
75Prints the online help for this command. All other valid options are
76ignored.
77
78=back
79
80=head1 EXAMPLES
81
82In the following example, an administrator using the C<admin> account
83unlocks the entry for C<jones>:
84
85 % kas unlock -name jones -admin_username admin
86 Administrator's (admin) Password:
87
88=head1 PRIVILEGE REQUIRED
89
90The issuer must have the C<ADMIN> flag set on his or her Authentication
91Database entry.
92
93=head1 SEE ALSO
94
95L<kas(8)>,
96L<kas_examine(8)>,
97L<kas_setfields(8)>,
98L<klog(1)>
99
100=head1 COPYRIGHT
101
102IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
103
104This documentation is covered by the IBM Public License Version 1.0. It was
105converted from HTML to POD by software written by Chas Williams and Russ
106Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.