]> err.no Git - systemd/commitdiff
logind: Allow PowerOff/Reboot in default context
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 9 Feb 2012 23:56:44 +0000 (00:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2012 01:33:41 +0000 (02:33 +0100)
src/login/org.freedesktop.login1.conf

index 17746555bd69192b0801bdc8c06cf8bb3e5c1916..fbe4810dcbc50b24edc311f8f555f830de8938ec 100644 (file)
                        send_interface="org.freedesktop.login1.Manager"
                        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"/>