3 bos_removekey - Removes a server encryption key from the KeyFile file
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>]
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>]
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
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.
35 This command can only remove keys from the F</usr/afs/etc/KeyFile> file;
36 the F</usr/afs/etc/KeyFileExt> cannot be modified by this command.
42 =item B<-server> <I<machine name>>
44 Indicates the server machine on which to change the
45 F</usr/afs/etc/KeyFile> file. Identify the machine by IP address or its
46 host name (either fully-qualified or abbreviated unambiguously). For
47 details, see L<bos(8)>.
49 In cells that use the Update Server to distribute the contents of the
50 F</usr/afs/etc> directory, it is conventional to specify only the system
51 control machine as a value for the B<-server> argument. Otherwise, repeat
52 the command for each file server machine. For further discussion, see
55 =item B<-kvno> <I<key version number>>+
57 Specifies the key version number of each key to remove.
59 =item B<-cell> <I<cell name>>
61 Names the cell in which to run the command. Do not combine this argument
62 with the B<-localauth> flag. For more details, see L<bos(8)>.
66 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
67 combine this flag with the B<-localauth> flag. For more details, see
72 Constructs a server ticket using a key from the local
73 F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
74 The B<bos> command interpreter presents the
75 ticket to the BOS Server during mutual authentication. Do not combine this
76 flag with the B<-cell> or B<-noauth> options. For more details, see
81 Prints the online help for this command. All other valid options are
88 The following command removes the keys with key version numbers 5 and 6
89 from the F<KeyFile> file on the system control machine C<fs1.example.com>.
91 % bos removekey -server fs1.example.com -kvno 5 6
93 =head1 PRIVILEGE REQUIRED
95 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
96 machine named by the B<-server> argument, or must be logged onto a server
97 machine as the local superuser C<root> if the B<-localauth> flag is
111 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
113 This documentation is covered by the IBM Public License Version 1.0. It was
114 converted from HTML to POD by software written by Chas Williams and Russ
115 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.