3 kas_stringtokey - Converts a character string into an octal key
10 B<kas stringtokey> S<<< B<-string> <I<password string>> >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-help>]
13 B<kas str> S<<< B<-s> <I<password string>> >>> S<<< [B<-c> <I<cell name>>] >>> [B<-h>]
20 The B<kas stringtokey> command converts the character string specified
21 with the B<-string> argument into an octal string suitable for use as an
24 The B<kas> command interpreter generates the octal key by using an
25 encryption algorithm on the combination of the specified string and the
26 name of the local cell (as recorded in the local F</usr/vice/etc/ThisCell>
27 file). Use the B<-cell> argument to convert a string into a key
28 appropriate for a cell other than the local one.
32 This command writes the key to the standard output stream, on which it can
33 possibly be intercepted by third parties. It is not very secure to use the
34 key in an actual Authentication Database entry.
40 =item B<-string> <I<password string>>
42 Specifies the character string to convert into an octal key.
44 =item B<-cell> <I<cell name>>
46 Specifies the complete Internet domain name of the cell to combine with
47 the password string while generating the key. If this argument is omitted,
48 the B<kas> command interpreter determines the name of the local cell by
55 First, the value of the environment variable AFSCELL.
59 Second, the cellname in the F</usr/vice/etc/ThisCell> file on the local
66 Prints the online help for this command. All other valid options are
73 The output is of the following form:
75 Converting I<password string> in realm 'I<cell_name>' yields key='I<key>'.
79 The following example shows the octal key equivalent of the string
80 C<new_pswd> in the Example Corporation cell.
82 % kas stringtokey new_pswd
83 Converting new_pswd in realm 'EXAMPLE.COM' yields
84 key='\346\307\364\320\263\233\342\354'.
86 =head1 PRIVILEGE REQUIRED
88 None, and no password is required.
97 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
99 This documentation is covered by the IBM Public License Version 1.0. It was
100 converted from HTML to POD by software written by Chas Williams and Russ
101 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.