diff options
author | Michael Biebl <biebl@debian.org> | 2009-07-14 17:41:18 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2009-07-14 17:41:18 +0200 |
commit | b78e497569d2fc75e25c65c3f9f78c8580887c0b (patch) | |
tree | 3f8bf4dd1b6be9554b2da77d82c400697121df24 /data/org.freedesktop.consolekit.policy | |
parent | 1f223c41689bbbd64f8749ff7c09967a49407022 (diff) | |
download | consolekit-upstream/0.3.0.tar.gz |
Imported Upstream version 0.3.0upstream/0.3.0
Diffstat (limited to 'data/org.freedesktop.consolekit.policy')
-rw-r--r-- | data/org.freedesktop.consolekit.policy | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/data/org.freedesktop.consolekit.policy b/data/org.freedesktop.consolekit.policy new file mode 100644 index 0000000..a5953f4 --- /dev/null +++ b/data/org.freedesktop.consolekit.policy @@ -0,0 +1,48 @@ +<?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.0/policyconfig.dtd"> + +<!-- +Policy definitions for ConsoleKit +--> + +<policyconfig> + + <action id="org.freedesktop.consolekit.system.stop"> + <description>Stop the system</description> + <message>System policy prevents stopping the system</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.stop-multiple-users"> + <description>Stop the system when multiple users are logged in</description> + <message>System policy prevents stopping the system when other users are logged in</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep_always</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.restart"> + <description>Restart the system</description> + <message>System policy prevents restarting the system</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.restart-multiple-users"> + <description>Restart the system when multiple users are logged in</description> + <message>System policy prevents restarting the system when other users are logged in</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep_always</allow_active> + </defaults> + </action> + +</policyconfig> |