Home >

LunaSH Command Reference Guide > LunaSH Commands > audit > audit changepwd

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 SafeNet Network HSM with PED authentication.

Syntax

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

Parameter Shortcut Description
-newpw -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 -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 -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 SafeNet 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:>