diff options
author | Adel Gadllah <adel.gadllah@gmail.com> | 2013-02-06 14:24:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-11 21:04:25 +0100 |
commit | eb6d233862f33575b6a3e6c21ffaafa3f686248c (patch) | |
tree | 8139e036ef0a80f7f207c849b9e5159d75af9766 /src | |
parent | 7b4d7cc08283e5485dcfa49ffdf1915de1d5e81b (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/login/org.freedesktop.login1.policy.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index b5f5db4f6a..0c551d4f9b 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> |