HP (Hewlett-Packard) E0905 Server User Manual


 
Administering the Kerberos Server
Manual Administration Using kadmin
Chapter 8 205
For example, to add a new principal admin, type kadmin at the HP-UX
prompt, and specify the add command, the principal name, and the
policy name. Following is a sample output of the add command:
command: add
Name of Principal to add: admin
Enter password:
<password>
Re-enter password for verification:
<password>
Enter policy name (Press enter key to apply default policy):
Enter LDAP DN name (Press enter key to apply default policy):
Principal added
Adding a Random Key
Service principals use the addrnd command to add the specified
principal with a randomly generated password.
The general syntax for adding a principal with a randomly generated
password is as follows:
command: addrnd
For example, to add a principal admin with a randomly generated
password, type kadmin at the HP-UX prompt, and specify the addrnd
command, the principal name, and the policy name. Following is a
sample output of the addrnd command:
command: addrnd
Name of Principal to add: admin
Enter policy name (Press enter key to apply default policy):
Enter LDAP DN name (Press enter key to apply default policy):
Principal added
Specifying a New Password
The cpw command enables you to specify a new password for the
principal.
The general syntax for specifying a new password is as follows:
command: cpw
For example, to enable a new password for the principal admin, type
kadmin at the HP-UX prompt, and specify the cpw command and the
principal name. Following is a sample output of the cpw command: