From 83470765e4114286ce1883d75c713dc3f9ff14dd Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 5 May 2014 08:17:01 +0200 Subject: [PATCH] policy: Make the polkit policy not be desktop-centric The polkit policy should allow admin users logged in via ssh or Cockpit (for example on a server) to perform the actions in question. The applies non local sessions. --- policy/org.freedesktop.packagekit.policy.in | 56 ++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/policy/org.freedesktop.packagekit.policy.in b/policy/org.freedesktop.packagekit.policy.in index e622b59..20c420f 100644 --- a/policy/org.freedesktop.packagekit.policy.in +++ b/policy/org.freedesktop.packagekit.policy.in @@ -23,8 +23,8 @@ <_message>Authentication is required to cancel a task that was not started by yourself package-x-generic - no - no + auth_admin + auth_admin auth_admin_keep @@ -40,8 +40,8 @@ <_message>Authentication is required to install software package-x-generic - no - no + auth_admin + auth_admin auth_admin_keep @@ -57,8 +57,8 @@ <_message>Authentication is required to install untrusted software package-x-generic - no - no + auth_admin + auth_admin auth_admin org.freedesktop.packagekit.package-install @@ -75,8 +75,8 @@ <_message>Authentication is required to consider a key used for signing software as trusted package-x-generic - no - no + auth_admin + auth_admin auth_admin @@ -92,8 +92,8 @@ <_message>Authentication is required to accept a EULA package-x-generic - no - no + auth_admin + auth_admin yes @@ -112,8 +112,8 @@ <_message>Authentication is required to remove software package-x-generic - no - no + auth_admin + auth_admin auth_admin_keep org.freedesktop.packagekit.package-install @@ -131,8 +131,8 @@ <_message>Authentication is required to update software package-x-generic - no - no + auth_admin + auth_admin yes @@ -147,8 +147,8 @@ <_message>Authentication is required to change software source parameters package-x-generic - no - no + auth_admin + auth_admin auth_admin_keep @@ -162,8 +162,8 @@ <_message>Authentication is required to refresh the system sources package-x-generic - no - no + auth_admin + auth_admin yes @@ -177,8 +177,8 @@ <_message>Authentication is required to set the network proxy used for downloading software preferences-system-network-proxy - no - no + auth_admin + auth_admin yes @@ -195,8 +195,8 @@ <_message>Authentication is required to reload the device with a new driver package-x-generic - no - no + auth_admin + auth_admin yes /usr/sbin/pk-device-rebind @@ -212,8 +212,8 @@ <_message>Authentication is required to repair the installed software package-x-generic - no - no + auth_admin + auth_admin auth_admin @@ -227,8 +227,8 @@ <_message>Authentication is required to trigger offline updates package-x-generic - no - no + auth_admin + auth_admin yes /usr/libexec/pk-trigger-offline-update @@ -243,8 +243,8 @@ <_message>Authentication is required to clear the offline updates message package-x-generic - no - no + auth_admin + auth_admin yes /usr/libexec/pk-clear-offline-update -- 1.9.0