File: Creating-a-Stash-File.html

package info (click to toggle)
krb5 1.4.4-7etch8
  • links: PTS
  • area: main
  • in suites: etch
  • size: 49,188 kB
  • ctags: 25,838
  • sloc: ansic: 270,358; exp: 21,157; makefile: 10,635; sh: 6,403; yacc: 2,515; perl: 1,925; cpp: 743; awk: 449; python: 379; asm: 248; lex: 190; sed: 172; csh: 147
file content (44 lines) | stat: -rw-r--r-- 1,972 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<html lang="en">
<head>
<title>Kerberos V5 System Administrator's Guide</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Kerberos V5 System Administrator's Guide">
<meta name="generator" content="makeinfo 4.5">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Creating%20a%20Stash%20File">Creating a Stash File</a>,
Next:<a rel="next" accesskey="n" href="Creating-and-Destroying-a-Kerberos-Database.html#Creating%20and%20Destroying%20a%20Kerberos%20Database">Creating and Destroying a Kerberos Database</a>,
Previous:<a rel="previous" accesskey="p" href="Restoring-a-Kerberos-Database-from-a-Dump-File.html#Restoring%20a%20Kerberos%20Database%20from%20a%20Dump%20File">Restoring a Kerberos Database from a Dump File</a>,
Up:<a rel="up" accesskey="u" href="Global-Operations-on-the-Kerberos-Database.html#Global%20Operations%20on%20the%20Kerberos%20Database">Global Operations on the Kerberos Database</a>
<hr><br>
</div>

<h4 class="subsection">Creating a Stash File</h4>

<p>A stash file allows a KDC to authenticate itself to the database
utilities, such as <code>kadmin</code>, <code>kadmind</code>, <code>krb5kdc</code>, and
<code>kdb5_util</code>.

<p>To create a stash file, use the <code>kdb5_util</code> <code>stash</code> command. 
The syntax is:

<pre class="smallexample">     <b>kdb5_util stash</b> [<b>-f</b> <i>keyfile</i>]
     </pre>

<p>For example:

<pre class="smallexample">     <b>shell%</b> kdb5_util stash
     <b>kdb5_util: Cannot find/read stored master key while reading master key
     kdb5_util: Warning: proceeding without master key</b>
     <b>Enter KDC database master key:</b>  <i>&lt;= Type the KDC database master password.</i>
     <b>shell%</b>
     </pre>

<p>If you do not specify a stash file, <code>kdb5_util</code> will stash the key
in the file specified in your <code>kdc.conf</code> file.

</body></html>