Home >

Lunacm Command Reference Guide > LunaCM Commands > hsm > hsm changesopolicy

hsm changesopolicy

Change the Security Officer policies. Use this command to change the specified SO Policy from the current value to the new, specified value, if the corresponding SO Capability setting permits the change.

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 changesopolicy - policy <policy_number> -value <new_policy_value>

Parameter Shortcut Description
-policy -p The number identifying the SO policy that you want to change. Use the hsm show command to find the number of the policy you want to change.
-value -v The new setting to be applied to the indicated SO policy. Use the hsm show command to find the current setting of the policy you want to change.
-force -f Force the change without further prompting.

Example

lunacm:> hsm changeSOPolicy -policy 25 -value 246
 
Command Result : No Error