Home >

LunaSH Command Reference Guide > LunaSH Commands > hsm > hsm changepw

hsm changepw

Change the password or PED key contents for the HSM Admin. Both the old and the new PED key are required for PED-authenticated HSMs.

Syntax

hsm -changepw [-oldpw <password> -newpw <password>]

Parameter

Shortcut

Description

-newpw -n

Specifies the new password that is used as the HSM Admin's login credential to the HSM. If the new password is not provided on the command line, the you are interactively prompted for the new password, and for confirmation of the new 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 Admin. If the current password is not provided on the command line, the user is interactively prompted for the current password.