summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-05-15 15:30:25 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-05-15 15:30:25 -0400
commitc8c3d835d24fc4ce5a9c596c7d55d85a0311e8d1 (patch)
treea752d649a78ae1ad961aa337621b0154040ffa97 /actions
parentccf8f97948205eed26dc2003ec0984b90034e8af (diff)
downloadpolkit-c8c3d835d24fc4ce5a9c596c7d55d85a0311e8d1.tar.gz
Add a pkexec(1) command
Diffstat (limited to 'actions')
-rw-r--r--actions/org.freedesktop.policykit.policy.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/actions/org.freedesktop.policykit.policy.in b/actions/org.freedesktop.policykit.policy.in
index 72aa67e..d44a0c1 100644
--- a/actions/org.freedesktop.policykit.policy.in
+++ b/actions/org.freedesktop.policykit.policy.in
@@ -48,4 +48,14 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
+
+ <action id="org.freedesktop.policykit.exec">
+ <_description>Run programs as another user</_description>
+ <_message>Authentication is required to run a program as another user</_message>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ </action>
</policyconfig>