polkit/polkit-no-wheel-group.patch
2024-02-28 22:07:59 +08:00

9 lines
247 B
Diff

--- a/src/polkitbackend/50-default.rules
+++ b/src/polkitbackend/50-default.rules
@@ -8,5 +8,5 @@
// about configuring polkit.
polkit.addAdminRule(function(action, subject) {
- return ["unix-group:wheel"];
+ return ["unix-user:0"];
});