Add Policy Attribute (-aca) Command
The add-policy-attribute command edits an existing policy, by adding
a new component-action-answer to the policy. This command can also be used
to create a new policy.
|
Parameter
|
-
-C policy – Specify the name of a new or existing policy.
-
-T component – Specify the name of the component for which
the policy answers questions.
-
-D distribution – Specify the distribution for which this policy
is relevant. If not specified, the command operates on all distributions.
-
-install answer – Specify the policy value for installing a
component. Valid values are yes, no,
and ask_me.
-
-downgrade answer – Specify the policy value for downgrading
a component. Valid values are yes, no,
and ask_me.
-
-fix answer – Specify the policy value for fixing a component.
Valid values are yes, no, and ask_me.
-
-remove answer – Specify the policy value for removing a component.
Valid values are yes, no, and ask_me.
-
-upgrade answer – Specify the policy value for upgrading a
component. Valid values are yes, no,
and ask_me.
-
-ignore answer – Specify the policy value for ignoring file
conflicts. Valid values are yes, no,
and ask_me.
|
|
Syntax
|
uce_cli -aca -C "policy" -T "component" ( -install | -downgrade | -fix | -remove | -upgrade
| -ignore ) ( yes | no | ask_me ) [ -D distribution ]
-u username -p password
|
|
Example
|
uce_cli -aca -C newPolicy -T "User Interface" -remove no -u
admin -p 123
|
One action parameter, and only one, is mandatory, with a value of either yes, no, or ask_me.
To get a valid value for an existing policy name for the -C parameter,
use the -lc command; or use a new one to create a new policy.
To get a valid value for the -T parameter, use the -fc command.
To get a valid value for the -D parameter, use the -ld command.