summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2012-05-24 15:50:59 -0400
committerDavid Zeuthen <davidz@redhat.com>2012-05-24 15:50:59 -0400
commit587deddf80b2ad72d1ff21a2d5858c720303106c (patch)
tree5f8d40a5d0f6618c3d41ceef5e2026b18e2f2b83 /src/examples
parent0e85f07781f8eab9670e06cee32b38657e3b62ce (diff)
downloadpolkit-587deddf80b2ad72d1ff21a2d5858c720303106c.tar.gz
Clarify pkexec(1) variables
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/org.freedesktop.policykit.examples.pkexec.policy.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in b/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
index 9c05b77..049c024 100644
--- a/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
+++ b/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE policyconfig PUBLIC
- "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
+"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
- <vendor>Examples for the PolicyKit Project</vendor>
- <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>
+ <vendor>Examples for the polkit project</vendor>
+ <vendor_url>http://www.freedesktop.org/wiki/Software/polkit/</vendor_url>
<action id="org.freedesktop.policykit.example.pkexec.run-frobnicate">
- <_description>Run the PolicyKit example program Frobnicate</_description>
- <_message>Authentication is required to run the PolicyKit example program Frobnicate (user=$(user), program=$(program), command_line=$(command_line))</_message>
+ <_description>Run the polkit example program Frobnicate</_description>
+ <_message>Authentication is required to run the polkit example program Frobnicate (user=$(user), user.gecos=$(user.gecos), user.display=$(user.display), program=$(program), command_line=$(command_line))</_message>
<icon_name>audio-x-generic</icon_name> <!-- just an example -->
<defaults>
<allow_any>no</allow_any>