Administering the Kerberos Server
Manual Administration Using kadmin
command: cpw
Name of Principal: admin
Enter password: password
Principal modified
Changing Password to a New Randomly GeneratedPasswordThe cpwrnd command changes the password of a principal to a new randomly generated password.
The general syntax for the cpwrnd command is as follows:
command: cpwrnd
For example, to change the password of the principal admin to a new randomly generated password, type kadmin at the
command: cpwrnd
Name of Principal: admin
Principal modified
Deleting a PrincipalTo delete a principal, you must specify the delete administrative privilege in admin_acl_file.
The general syntax for deleting a principal is as follows:
command: del
For example, to delete the principal admin, type kadmin at the
command: del
Name of Principal to delete: admin
Principal removed
The message Principal removed indicates that the principal is deleted.
206 | Chapter 8 |