doc: replace hostnames with IETF example hostnames
[openafs.git] / doc / man-pages / pod8 / bos_removekey.pod
1 =head1 NAME
2
3 bos_removekey - Removes a server encryption key from the KeyFile file
4
5 =head1 SYNOPSIS
6
7 =for html
8 <div class="synopsis">
9
10 B<bos removekey> S<<< B<-server> <I<machine name>> >>>
11     S<<< B<-kvno> <I<key version number>>+ >>> S<<< [B<-cell> <I<cell name>>] >>>
12     [B<-noauth>] [B<-localauth>] [B<-help>]
13
14 B<bos removek> S<<< B<-s> <I<machine name>> >>> S<<< B<-k> <I<key version number>>+ >>>
15     S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-h>]
16
17 =for html
18 </div>
19
20 =head1 DESCRIPTION
21
22 The B<bos removekey> command removes each specified encryption key from
23 the F</usr/afs/etc/KeyFile> file on the machine named by the B<-server>
24 argument. Use the B<-kvno> argument to identify each key by its key
25 version number; use the B<bos listkeys> command to display the key version
26 numbers.
27
28 =head1 CAUTIONS
29
30 Before removing a obsolete key, verify that the cell's maximum ticket
31 lifetime has passed since the current key was defined using the B<kas
32 setpassword> and B<bos addkey> commands. This ensures that no clients
33 still possess tickets encrypted with the obsolete key.
34
35 =head1 OPTIONS
36
37 =over 4
38
39 =item B<-server> <I<machine name>>
40
41 Indicates the server machine on which to change the
42 F</usr/afs/etc/KeyFile> file. Identify the machine by IP address or its
43 host name (either fully-qualified or abbreviated unambiguously). For
44 details, see L<bos(8)>.
45
46 In cells that use the Update Server to distribute the contents of the
47 F</usr/afs/etc> directory, it is conventional to specify only the system
48 control machine as a value for the B<-server> argument. Otherwise, repeat
49 the command for each file server machine. For further discussion, see
50 L<bos(8)>.
51
52 =item B<-kvno> <I<key version number>>+
53
54 Specifies the key version number of each key to remove.
55
56 =item B<-cell> <I<cell name>>
57
58 Names the cell in which to run the command. Do not combine this argument
59 with the B<-localauth> flag. For more details, see L<bos(8)>.
60
61 =item B<-noauth>
62
63 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
64 combine this flag with the B<-localauth> flag. For more details, see
65 L<bos(8)>.
66
67 =item B<-localauth>
68
69 Constructs a server ticket using a key from the local
70 F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
71 ticket to the BOS Server during mutual authentication. Do not combine this
72 flag with the B<-cell> or B<-noauth> options. For more details, see
73 L<bos(8)>.
74
75 =item B<-help>
76
77 Prints the online help for this command. All other valid options are
78 ignored.
79
80 =back
81
82 =head1 EXAMPLES
83
84 The following command removes the keys with key version numbers 5 and 6
85 from the F<KeyFile> file on the system control machine C<fs1.example.com>.
86
87    % bos removekey -server fs1.example.com -kvno 5 6
88
89 =head1 PRIVILEGE REQUIRED
90
91 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
92 machine named by the B<-server> argument, or must be logged onto a server
93 machine as the local superuser C<root> if the B<-localauth> flag is
94 included.
95
96 =head1 SEE ALSO
97
98 L<KeyFile(5)>,
99 L<UserList(5)>,
100 L<bos(8)>,
101 L<bos_addkey(8)>,
102 L<bos_listkeys(8)>
103
104 =head1 COPYRIGHT
105
106 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
107
108 This documentation is covered by the IBM Public License Version 1.0.  It was
109 converted from HTML to POD by software written by Chas Williams and Russ
110 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.