3 kas stringtokey - Converts a character string into an octal key
7 B<kas stringtokey> B<-string> <I<password string>>
8 [B<-cell> <I<cell name>>] [B<-help>]
10 B<kas str> B<-s> <I<password string>> [B<-c> <I<cell name>>] [B<-h>]
14 The B<kas stringtokey> command converts the character string specified
15 with the B<-string> argument into an octal string suitable for use as an
18 The B<kas> command interpreter generates the octal key by using an
19 encryption algorithm on the combination of the specified string and the
20 name of the local cell (as recorded in the local F</usr/vice/etc/ThisCell>
21 file). Use the B<-cell> argument to convert a string into a key
22 appropriate for a cell other than the local one.
26 This command writes the key to the standard output stream, on which it can
27 possibly be intercepted by third parties. It is not very secure to use the
28 key in an actual Authentication Database entry.
34 =item B<-string> <I<password string>>
36 Specifies the character string to convert into an octal key.
38 =item B<-cell> <I<cell name>>
40 Specifies the complete Internet domain name of the cell to combine with
41 the password string while generating the key. If this argument is omitted,
42 the B<kas> command interpreter determines the name of the local cell by
49 First, the value of the environment variable AFSCELL.
53 Second, the cellname in the F</usr/vice/etc/ThisCell> file on the local
60 Prints the online help for this command. All other valid options are
67 The output is of the following form:
69 Converting I<password string> in realm 'I<cell_name>' yields key='I<key>'.
73 The following example shows the octal key equivalent of the string
74 C<new_pswd> in the ABC Corporation cell.
76 % kas stringtokey new_pswd
77 Converting new_pswd in realm 'ABC.COM' yields
78 key='\346\307\364\320\263\233\342\354'.
80 =head1 PRIVILEGE REQUIRED
82 None, and no password is required.
91 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
93 This documentation is covered by the IBM Public License Version 1.0. It was
94 converted from HTML to POD by software written by Chas Williams and Russ
95 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.