Sun Enterprise Authentication Mechanism Guide

Example--Modifying a Principal's Password (Command Line)

The following example uses the change_password command of kadmin to modify the password for the jdb principal. change_password does not let you change the password to one that is in the principal's password history.


kadmin: change_password jdb
Enter password for principal "jdb": <type the new password>
Re-enter password for principal "jdb": <type the password again>
Password for "jdb@ACME.COM" changed.
kadmin: quit

To modify other attributes for a principal, you must use the modify_principal command of kadmin.