From b3a36b10232c5aaaf7dddf3dfa1a275945bc6174 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 3 Oct 2017 00:04:52 +0200 Subject: [feat] Update polkit options --- src/leap/bitmask/vpn/helpers/linux/polkit_agent.py | 3 +++ src/leap/bitmask/vpn/privilege.py | 1 + 2 files changed, 4 insertions(+) diff --git a/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py b/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py index 26fd7c8c..983983dd 100644 --- a/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py +++ b/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py @@ -28,8 +28,11 @@ import daemon POLKIT_PATHS = ( '/usr/bin/lxpolkit', + '/usr/bin/lxqt-policykit-agent', '/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1', + '/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1', '/usr/lib/mate-polkit/polkit-mate-authentication-agent-1', + '/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1', '/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1', ) diff --git a/src/leap/bitmask/vpn/privilege.py b/src/leap/bitmask/vpn/privilege.py index dd8d29a9..1a2ddde9 100644 --- a/src/leap/bitmask/vpn/privilege.py +++ b/src/leap/bitmask/vpn/privilege.py @@ -169,6 +169,7 @@ class LinuxPolicyChecker(object): 'lxpolkit', 'lxsession', 'gnome-shell', + 'gnome-flashback', 'fingerprint-polkit-agent', 'xfce-polkit', ) -- cgit v1.2.3