Administering the Kerberos Server
Manual Administration Using kadmin
For example, to add a new principal admin, type kadmin at the
command: add
Name of Principal to add: admin
Enter password: <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 KeyService 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
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 PasswordThe 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
Chapter 8 | 205 |