From 4374cf44cfbc1a1c6dcaf367ccc940a41f27dc1b Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Mon, 7 Oct 2013 17:30:43 +0200 Subject: [PATCH] logind: Allow active session to hibernate while other sessions are active We already allow the active session to shutdown the machine or hibernate it. Disallowing hibernation without auth for the active session means that hibernate when the battery is low does not work (asks for authentification) which can cause data loss. https://bugzilla.freedesktop.org/show_bug.cgi?id=70237 --- 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 b96d32d..b8e90f1 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -254,7 +254,7 @@ auth_admin_keep auth_admin_keep - auth_admin_keep + yes org.freedesktop.login1.hibernate -- 1.8.3.1