aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-26 11:27:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-26 11:27:57 -0300
commitc63b93d373bdd53cc6c70951eed3c29b56ba8c81 (patch)
treebfa51e21367cc6ca89916e1390d974f1c7279b0b /files
parentf72b3ae56fa0039aa08bccc1da8356a8c2bfdded (diff)
downloadpuppet-nodo-c63b93d373bdd53cc6c70951eed3c29b56ba8c81.tar.gz
puppet-nodo-c63b93d373bdd53cc6c70951eed3c29b56ba8c81.tar.bz2
Adding default org.freedesktop.consolekit.policy on wheezy
Diffstat (limited to 'files')
-rw-r--r--files/polkit/org.freedesktop.consolekit.policy48
1 files changed, 48 insertions, 0 deletions
diff --git a/files/polkit/org.freedesktop.consolekit.policy b/files/polkit/org.freedesktop.consolekit.policy
new file mode 100644
index 0000000..a709b39
--- /dev/null
+++ b/files/polkit/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</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</allow_active>
+ </defaults>
+ </action>
+
+</policyconfig>