audit changepwd

Change the password or PED key contents for the HSM Audit role. Both the old and the new PED key are required for Luna Network HSM with PED authentication.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit changepwd [-serial <serialnum>] [-oldpw <password>] [-newpw <password>]

Argument(s) Shortcut Description
-newpw <password> -n

Specifies the new password for the Audit role. If you do not use this parameter, you are prompted to enter and confirm the password. A valid password should be a mix of upper and lower-case letters, digits, and other characters, and must be a minimum of 8 characters long.

-oldpw <password> -o Specifies the current password for the HSM Audit role. If you do not use this parameter, you are prompted for the password. This parameter applies to password-authenticated HSMs only.
-serial <serialnum> -s

Specifies the serial number of the HSM. This option allows the system to distinguish between two connected HSMs, as might occur with a PKI bundle configuration (secondary USB-attached Luna USB HSM).

Example

lunash:>audit changepwd

  Please enter the old password:
  > *******

  Please enter the new password:
  > ********


  Please re-enter the new password:
  > ********


Command Result : 0 (Success)lunash:>