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><= 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>
|