1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-30 08:38:10 +01:00
slackware-current/source/l/polkit/dont-set-wheel-group-as-admin.diff
Patrick J Volkerding 6c177b8ec1 Wed Jan 15 19:00:18 UTC 2025
a/lvm2-2.03.30-x86_64-1.txz:  Upgraded.
a/mkinitrd-1.4.11-x86_64-64.txz:  Rebuilt.
  setup.01.mkinitrd: fix the "is this a linux kernel" grep test. I appreciate
  that using "file" might seem better here, but a) I don't expect a non-kernel
  to be passed into this script regularly, and b) file has been known to change
  its output without warning. Thanks to Mechanikx.
  Escape the dots. Thanks to Petri Kaukasoina.
d/git-2.48.1-x86_64-1.txz:  Upgraded.
  This release lets Git refuse to accept URLs that contain control sequences.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2024-50349
    https://www.cve.org/CVERecord?id=CVE-2024-52006
  (* Security fix *)
d/luajit-2.1.1736781742-x86_64-1.txz:  Upgraded.
l/fmt-11.1.2-x86_64-1.txz:  Upgraded.
l/libsecret-0.21.5-x86_64-1.txz:  Upgraded.
l/libwnck3-43.2-x86_64-1.txz:  Upgraded.
l/polkit-126-x86_64-1.txz:  Upgraded.
l/python-tomli-w-1.2.0-x86_64-1.txz:  Upgraded.
n/openvpn-2.6.13-x86_64-1.txz:  Upgraded.
2025-01-15 21:00:58 +01:00

9 lines
346 B
Diff

--- ./src/polkitbackend/50-default.rules.in.orig 2025-01-13 08:54:22.000000000 -0600
+++ ./src/polkitbackend/50-default.rules.in 2025-01-14 12:41:52.726910352 -0600
@@ -8,5 +8,5 @@
// about configuring polkit.
polkit.addAdminRule(function(action, subject) {
- return ["unix-group:@PRIVILEGED_GROUP@"];
+ return ["unix-user:root"];
});