[systemd-commits] src/login

Lennart Poettering lennart at kemper.freedesktop.org
Mon Feb 11 12:04:42 PST 2013


 src/login/org.freedesktop.login1.policy.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb6d233862f33575b6a3e6c21ffaafa3f686248c
Author: Adel Gadllah <adel.gadllah at gmail.com>
Date:   Wed Feb 6 14:24:56 2013 +0100

    logind: Allow active sessions to always shutdown by default
    
    Currently local user are being asked for an admin  password when another
    user is logged into the system. This does not make sense as the user has
    the power to shut down the system anyway regardless if he/she knows the
    password or not (by pulling the plug, battery or whatever).
    
    So only require the admin authentification for remote sessions.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693385

diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index b5f5db4..0c551d4 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -158,7 +158,7 @@
                 <defaults>
                         <allow_any>auth_admin_keep</allow_any>
                         <allow_inactive>auth_admin_keep</allow_inactive>
-                        <allow_active>auth_admin_keep</allow_active>
+                        <allow_active>yes</allow_active>
                 </defaults>
                 <annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.power-off</annotate>
         </action>



More information about the systemd-commits mailing list