polkit-action1
List and modify registered policykit actions
Usage
polkit-action [--action
action]
[--reset-defaults
action]
[--show-overrides]
[--set-defaults-any
action
value]
[--set-defaults-inactive
action
value]
[--set-defaults-active
action
value]
[--version]
[--help]
Overview
polkit-action is used to list and modify the PolicyKit actions that are registered on the system.
Options
-
--action action -
Show detailed information about a specific action.
-
--reset-defaults action -
Reset the defaults for the specified action to the factory defaults. The authorization needed to do this is org.freedesktop.policykit.modify-defaults.
-
--show-overrides -
Prints all actions for where the defaults are overridden.
--set-defaults-any action value
Override the any stanza for the given action with the supplied value. The authorization needed to do this is org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session, auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
--set-defaults-inactive action value
Override the inactive stanza for the given action with the supplied value. The authorization needed to do this is org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session, auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
--set-defaults-active action value
Override the active stanza for the given action with the supplied value. The authorization needed to do this is org.freedesktop.policykit.modify-defaults. Valid values for value are no, auth_admin_one_shot, auth_admin, auth_admin_keep_session, auth_admin_keep_always, auth_self_one_shot, auth_self, auth_self_keep_session, auth_self_keep_always, and yes.
-
--version -
Show version and exit.
-
--help -
Show usage information and exit.
Completion
PolicyKit ships with a collection of shell functions such that completion on options, action and value works when using the bash(1) shell.