3 bos addkey - Adds a new server encryption key to the /usr/afs/etc/KeyFile
8 B<bos addkey -server> <I<machine name>> [-key <I<key>>]
9 B<-kvno> <I<key version number>> [B<-cell> <I<cell name>>]
10 [B<-noauth>] [B<-localauth>] [-help]
12 B<bos addk -s> <I<machine name>> [B<-ke> <I<key>>] -kv <I<key version number>>
13 [B<-ce> <I<cell name>>] [B<-n>] [B<-l>] [B<-h>]
17 The bos addkey command constructs a server encryption key from
18 the text string provided, assigns it the key version number specified with the
19 B<-kvno> argument, and adds it to the B</usr/afs/etc/KeyFile>
20 file on the machine specified with the B<-server> argument. Be
21 sure to use the B<kas setpassword> or B<kas setkey> command to
22 add the same key to the B<afs> entry in the Authentication
25 Do not use the -key argument, which echoes the password string
26 visibly on the screen. If the argument is omitted, the BOS Server
27 prompts for the string and does not echo it visibly:
32 The BOS Server prohibits reuse of any key version number already listed in
33 the B</usr/afs/etc/KeyFile> file. This ensures that users who
34 still have tickets sealed with the current key are not prevented from
35 communicating with a server process because the current key is overwritten
36 with a new key. Use the B<bos listkeys> command to display the
37 key version numbers in the B</usr/afs/etc/KeyFile> file.
46 Indicates the server machine on which to change the
47 B</usr/afs/etc/KeyFile> file. Identify the machine by IP
48 address or its host name (either fully-qualified or abbreviated
49 unambiguously). For details, see the introductory reference page for
50 the B<bos> command suite.
52 In cells that run the United States edition of AFS and use the Update
53 Server to distribute the contents of the B</usr/afs/etc> directory, it
54 is conventional to specify only the system control machine as a value for the
55 B<-server> argument. In cells that run the international
56 version of AFS, repeat the command for each file server machine. For
57 further discussion, see the introductory reference page for the B<bos>
63 Specifies a character string just like a password; the BOS Server
64 calls a DES conversion function to encode it into a form appropriate for use
65 as an encryption key. Omit this argument to have the BOS Server prompt
66 for the string instead.
71 Defines the new key's key version number. It must be an
72 integer in the range from B<0> (zero) through B<255>.
73 For the sake of simplicity, use the number one higher than the current highest
74 key version number; use the B<bos listkeys> command to display
81 Names the cell in which to run the command. Do not combine this
82 argument with the B<-localauth> flag. For more details, see the
83 introductory B<bos> reference page.
88 Assigns the unprivileged identity anonymous to the
89 issuer. Do not combine this flag with the B<-localauth>
90 flag. For more details, see the introductory B<bos> reference
96 Constructs a server ticket using a key from the local
97 B</usr/afs/etc/KeyFile> file. The B<bos> command
98 interpreter presents the ticket to the BOS Server during mutual
99 authentication. Do not combine this flag with the B<-cell> or
100 B<-noauth> options. For more details, see the introductory
101 B<bos> reference page.
105 Prints the online help for this command. All other valid options
112 If the strings typed at the C<Input key> and C<Retype input
113 key> prompts do not match, the following message appears, and the command
114 exits without adding a new key:
120 The following command adds a new server encryption key with key version
121 number 14 to the B<KeyFile> file kept on the machine
122 B<fs1.abc.com> (the system control machine). The
123 issuer omits the B<-key> argument, as recommended, and provides the
124 password at the prompts.
126 % bos addkey -server fs1.abc.com -kvno 14
130 =head1 PRIVILEGE REQUIRED
132 The issuer must be listed in the /usr/afs/etc/UserList file on
133 the machine named by the B<-server> argument, or must be logged onto a
134 server machine as the local superuser B<root> if the
135 B<-localauth> flag is included.
147 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
149 This documentation is covered by the IBM Public License Version 1.0. It was
150 converted from HTML to POD by software written by Chas Williams and Russ
151 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.