Managing Kerberos and Other Authentication Services in Oracle® Solaris 11.2

Exit Print View

Updated: August 2014
 
 

Administering the Stash File for the Kerberos Database

The stash file contains the master key for the Kerberos database, which is automatically created when you create a Kerberos database. If the stash file gets corrupted, you can use the stash command of the kdb5_util utility to replace the corrupted file. The only time you should need to remove a stash file is after removing the Kerberos database with the destroy command of kdb5_util. Because the stash file is not automatically removed with the database, you have to remove the stash file manually.

To remove the stash file, use the rm command:

# rm stash-file

Where stash-file is the path to the stash file. By default, the stash file is located at /var/krb5/.k5.realm.


Note -  If you need to re-create the stash file, you can use the –f option of the kdb5_util command.