summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-10 00:56:44 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-10 02:33:41 +0100
commit80df5f4c3b697d666324fc37e63661f44a5f76cf (patch)
tree9bca60a0391724ba3848574b8efd6ceab0eb53e0 /src
parent05d02d8db0b3a7fd7634f7a0bd35ad96da469fb4 (diff)
logind: Allow PowerOff/Reboot in default context
Diffstat (limited to 'src')
-rw-r--r--src/login/org.freedesktop.login1.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf
index 17746555bd..fbe4810dcb 100644
--- a/src/login/org.freedesktop.login1.conf
+++ b/src/login/org.freedesktop.login1.conf
@@ -77,6 +77,14 @@
send_member="ActivateSessionOnSeat"/>
<allow send_destination="org.freedesktop.login1"
+ send_interface="org.freedesktop.login1.Manager"
+ send_member="PowerOff"/>
+
+ <allow send_destination="org.freedesktop.login1"
+ send_interface="org.freedesktop.login1.Manager"
+ send_member="Reboot"/>
+
+ <allow send_destination="org.freedesktop.login1"
send_interface="org.freedesktop.login1.Seat"
send_member="ActivateSession"/>