Installing, Configuring and Administering the Kerberos Server V 2.0 on HP-UX 11i
Administration
Manual Administration Using kadmin
Chapter 6 173
command: addrnd
Name of Principal to add: admin
Principal added
Specify New Password
The cpw command enables you to specify a new password for the
principal selected.
The general syntax for specifying a new password is:
command: cpw
For example, to enable a new password for the principal “admin”, you
would do the following:
command: cpw
Name of Principal: admin
Enter password: password
Re-enter password for verification: password
Principal modified
Change Password to a New Randomly Generated
Password
The cpwrnd command changes the password of a specified principal to
a new randomly generated password.
The general syntax for changing the password to a new randomly
generated password for a specified principal:
command: cpwrnd
For example, to change the password of the principal “admin” to a new
randomly generated password, you would do the following:
command: cpwrnd
Name of Principal: admin
Principal modified
Delete a Principal
The del command deletes the specified principal. This command
requires the “delete” administrative privilege to be specified in the
admin_acl_file.