You are here: Reference Manual > Client-side Commands (lunacm) > lunacm hsm Commands > lunacm hsm changeSOPolicy Command

lunacm hsm Commands

lunacm hsm changeSOPolicy Command

This command, and all the lunacm hsm commands, appear only when the current slot selected in lunacm is for a local HSM, like an installed Luna PCI-E.

HSM commands do not appear in the lunacm command menu when lunacm is directed at a slot corresponding to a remote Luna SA - lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM.

For Luna SA, the HSM commands are available via the Luna appliance's Luna Shell (lunash:>), which can be accessed via ssh if you have the required authentication.

NAME

hsm changeSOPolicy  - Change Security Officer policies

SYNOPSIS

lunacm:> hsm changeSOPolicy - policy <policy_number> -value <new_policy_value>

DESCRIPTION

Changes the specified SO Policy from the current value to the new, specified value, if the corresponding SO Capability setting permits the change.

OPTIONS

 Command            (short)  Description
---------------------------------------------------------
-policy         -p       Policy ID
-value          -v       Policy Value
-force         -f force the action

-policy    [mandatory] The number identifying the SO Policy that is to be changed. Find the number with the hsm show command.

-value    [mandatory] The new setting to be applied to the indicated SO Policy. Find the current setting for each Policy with the hsm show command.

-force     [optional] force the change without further prompting

 

SAMPLE OUTPUT

lunacm:> hsm changeSOPolicy -policy 25 -value 246

Command Result : No Error

lunacm:>