Home > |
---|
Modify a policy's initial value and destructive settings within the partition policy template currently being edited. This change is done independently of any partition when the edit is performed. The change becomes accessible when the template is saved. The change becomes active if the template is applied to an application partition.
partition policyTemplateChange -policy <policynumber> [-value <value> ] [-on{destructive | non-destructive}] [-off{destructive | non-destructive}]
Option | Shortcut | Parameter | Description |
---|---|---|---|
-off | -off | . | Specifies whether the action of switching the policy off shall be destructive. |
-on | -on | . | Specifies whether the action of switching the policy on shall be destructive. |
-policy | -p | <policy number> | Specifies the policy code identifying the policy to alter. Policy descriptions and codes are obtained with the partition showpolicies command. |
-value | -v | <policy value> | Specifies the value that should be assigned to the specified policy. When specifying values for an on/off type policy, use '1' for on and '0' for off, or just type the text "on" or "off". Either is acceptable. |
lunacm:> partition policyTemplateChange -policy 23 -value on Destructive Code Description Value Off-To-On On-To-Off ______________________________________________________________________________ 23 Allow auto-activation On No No Command Result : No Error lunacm:> partition policyTemplateChange -policy 25 -value 246 Destructive Code Description Value Off-To-On On-To-Off ______________________________________________________________________________ 25 Minimum pin length (inverted: 255 - min) 246 N/A N/A Command Result : No Error lunacm:> partition policyTemplateChange -policy 20 -value 9 Destructive Code Description Value Off-To-On On-To-Off ______________________________________________________________________________ 20 Max failed user logins allowed 9 N/A N/A Command Result : No Error lunacm:> partition policyTemplateChange -policy 7 -on non-destructive Destructive Code Description Value Off-To-On On-To-Off ______________________________________________________________________________ 7 Allow secret key masking Off No No Command Result : No Error