From eb6d233862f33575b6a3e6c21ffaafa3f686248c Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Wed, 6 Feb 2013 14:24:56 +0100 Subject: [PATCH] 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 --- src/login/org.freedesktop.login1.policy.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index b5f5db4f6ac..0c551d4f9bf 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -158,7 +158,7 @@ auth_admin_keep auth_admin_keep - auth_admin_keep + yes org.freedesktop.login1.power-off