Blob Blame History Raw
From 82f02449c91aead388d0ded72d28096fd081e02e Mon Sep 17 00:00:00 2001
From: Michael Webster <miketwebster@gmail.com>
Date: Fri, 12 Dec 2014 07:22:55 -0500
Subject: [PATCH 1/3] open as root: Change polkit policy to _keep to cache
 authorization (and keep the user from having to repeatedly enter a password).

---
 src/org.nemo.root.policy.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/org.nemo.root.policy.in b/src/org.nemo.root.policy.in
index 3e892b9..d173a33 100644
--- a/src/org.nemo.root.policy.in
+++ b/src/org.nemo.root.policy.in
@@ -13,9 +13,9 @@
    <message>Authentication is required to run Nemo as root</message>
    <icon_name>gksu-root-terminal</icon_name>
    <defaults>
-     <allow_any>auth_admin</allow_any>
-     <allow_inactive>auth_admin</allow_inactive>
-     <allow_active>auth_admin</allow_active>
+     <allow_any>auth_admin_keep</allow_any>
+     <allow_inactive>auth_admin_keep</allow_inactive>
+     <allow_active>auth_admin_keep</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/nemo</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
-- 
2.1.0