Home >

LunaCM Command Reference Guide > LunaCM Commands > hsm > hsm changepw

hsm changepw

Change HSM Security Officer password. Use this command to change the password that authenticates the HSM Security Officer (SO) to the HSM.

Note:  The lunacm hsm commands appear only when the current slot selected in lunacm is for a locally-installed HSM, such as a Luna PCI-E. When lunacm is directed at a slot corresponding to a remote Luna SA, the hsm-level commands do not appear, since lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM. To access HSM commands on the Luna SA appliance, you must use the Luna Shell (lunash).

Syntax

hsm changePw -newpw <new_SO_password> -oldpw <old_SO_password>

Parameter Shortcut Description
-newpw -n The new SO password.
-oldpw -o The old SO password.

Example

lunacm:> hsm changePw -newpw NewPa$$w0rd -oldpw 0ldPa$$w0rd
 
Command Result : No Error