| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN" |
| 3 |
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd"> |
| 4 |
<policyconfig> |
| 5 |
|
| 6 |
<vendor>Examples for the polkit project</vendor> |
| 7 |
<vendor_url>http://www.freedesktop.org/wiki/Software/polkit/</vendor_url> |
| 8 |
|
| 9 |
<action id="org.freedesktop.policykit.example.pkexec.run-frobnicate"> |
| 10 |
<description>Run the polkit example program Frobnicate</description> |
| 11 |
<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> |
| 12 |
<icon_name>audio-x-generic</icon_name> <!-- just an example --> |
| 13 |
<defaults> |
| 14 |
<allow_any>no</allow_any> |
| 15 |
<allow_inactive>no</allow_inactive> |
| 16 |
<allow_active>auth_admin_keep</allow_active> |
| 17 |
</defaults> |
| 18 |
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pk-example-frobnicate</annotate> |
| 19 |
</action> |
| 20 |
|
| 21 |
</policyconfig> |