summaryrefslogtreecommitdiff
path: root/net-vpn/microsoft-azurevpnclient/files/microsoft-azurevpnclient-sudo-group.patch
blob: 3dc29657ef5a432e7502960353cf1499cf6db1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Gentoo does not have a sudo group, so use wheel instead.

diff -Naur a/var/lib/polkit-1/localauthority/50-local.d/10-microsoft-azurevpnclient.pkla b/var/lib/polkit-1/localauthority/50-local.d/10-microsoft-azurevpnclient.pkla
--- a/var/lib/polkit-1/localauthority/50-local.d/10-microsoft-azurevpnclient.pkla	2023-04-26 12:18:12.000000000 +0100
+++ b/var/lib/polkit-1/localauthority/50-local.d/10-microsoft-azurevpnclient.pkla	2024-05-03 11:23:22.657251999 +0100
@@ -1,5 +1,5 @@
-[Allow sudo group users to set DNS domains and servers without prompt]
-Identity=unix-group:sudo
+[Allow wheel group users to set DNS domains and servers without prompt]
+Identity=unix-group:wheel
 Action=org.freedesktop.resolve1.set-domains;org.freedesktop.resolve1.set-dns-servers
 ResultAny=yes
 ResultInactive=yes