mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
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
This commit is contained in:
parent
7b4d7cc082
commit
eb6d233862
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user