---
name: "polkit-action"
section: "1"
platform: "linux"
package: "policykit"
version: "0.9-2"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/polkit-action"
---

# polkit-action(1)

List and modify registered PolicyKit actions

## NAME

polkit-action - List and modify registered PolicyKit actions

## SYNOPSIS

**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**\]

## DESCRIPTION

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)](/bash/1.md) shell.

## BUGS

Please send bug reports to either the distribution or the hal mailing list, see *http://lists.freedesktop.org/mailman/listinfo/hal*. to subscribe.

## SEE ALSO

[**PolicyKit**(8)](/PolicyKit/8.md), [**PolicyKit.conf**(5)](/PolicyKit.conf/5.md), [**polkit-auth**(1)](/polkit-auth/1.md)
