1KSTASH(8) BSD System Manager's Manual KSTASH(8)
2
4 kstash — store the KDC master password in a file
5
7 kstash [-e string | --enctype=string] [-k file | --key-file=file]
8 [--convert-file] [--random-key] [--master-key-fd=fd]
9 [--random-key] [-h | --help] [--version]
10
12 kstash reads the Kerberos master key and stores it in a file that will be
13 used by the KDC.
14
15 Supported options:
16
17 -e string, --enctype=string
18 the encryption type to use, defaults to DES3-CBC-SHA1.
19
20 -k file, --key-file=file
21 the name of the master key file.
22
23 --convert-file
24 don't ask for a new master key, just read an old master key file,
25 and write it back in the new keyfile format.
26
27 --random-key
28 generate a random master key.
29
30 --master-key-fd=fd
31 filedescriptor to read passphrase from, if not specified the
32 passphrase will be read from the terminal.
33
35 /var/heimdal/m-key is the default keyfile if no other keyfile is speci‐
36 fied. The format of a Heimdal master key is the same as a keytab, so
37 ktutil list can be used to list the content of the file.
38
40 kdc(8)
41
42HEIMDAL April 10, 2007 HEIMDAL