Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing, Configuring and Administering the Kerberos Server on HP-UX 11i: HP 9000 Networking > Chapter 3 Configuration

Steps for Creating the Kerberos Database

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Step 1

Create the Kerberos database using the kdb5_util command

/opt/krb5/sbin/kdb5_util create -r finance.bambi.com -s

The following message is displayed:

Initializing database 'var/adm/krb5/krb5kdc/principal' for realm 'finance.bambi.com' master key name 'K/M@finance.bambi.com'

You will be prompted for the master database password. It is important that you DO NOT FORGET this password.

Note: Replace the domain specified here with your relevant domain name.

Step 2

Enter the KDC database master key:

<your_master_key>

Step 5

Re-enter KDC database master key to verify:

<your_master_key>

The -s option creates a stash file, which is used to authenticate the KDC. This creates five files in the directory specified in your kdc.conf file as shown below:

  • two Kerberos database files, principal and principal.ok

  • two Kerberos administrative database files, principal.kadm5 and principal.kadm5.lock

  • the stash file, .k5.<Realm_Name>

The values for the files mentioned above, depend on the values specified in the kdc.conf file.

NOTE: If you do not want the stash file, run the above command without the -s option.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.