summaryrefslogtreecommitdiffstatshomepage
path: root/etc/polkit-1/rules.d/50-libvirt-wheel.rules
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-08-14 14:21:05 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-08-14 14:21:05 +0100
commit3acd8d606ab7a3bd44550c58b6ca6c331b3513d3 (patch)
treeb89d20bb71bed862542d256a4326ed99a43c9be2 /etc/polkit-1/rules.d/50-libvirt-wheel.rules
parent6f75cc55c4a2f55d32984e1e6c05d49dca310762 (diff)
downloaddotfiles-3acd8d606ab7a3bd44550c58b6ca6c331b3513d3.tar.gz
dotfiles-3acd8d606ab7a3bd44550c58b6ca6c331b3513d3.tar.bz2
dotfiles-3acd8d606ab7a3bd44550c58b6ca6c331b3513d3.zip
Remove unused libvirt configuration
Diffstat (limited to 'etc/polkit-1/rules.d/50-libvirt-wheel.rules')
-rw-r--r--etc/polkit-1/rules.d/50-libvirt-wheel.rules13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/polkit-1/rules.d/50-libvirt-wheel.rules b/etc/polkit-1/rules.d/50-libvirt-wheel.rules
deleted file mode 100644
index fac69bd..0000000
--- a/etc/polkit-1/rules.d/50-libvirt-wheel.rules
+++ /dev/null
@@ -1,13 +0,0 @@
-// Allow members of the `wheel` group to manage libvirt (start/stop VMs,
-// edit domains, attach devices) without a polkit password prompt.
-// This single-user system already trusts wheel for administrative work
-// via sudo-rs; libvirt's polkit gate is a separate path that does not
-// honour sudoers, so a polkit rule is the idiomatic fix.
-polkit.addRule(function (action, subject) {
- if (
- action.id == "org.libvirt.unix.manage" &&
- subject.isInGroup("wheel")
- ) {
- return polkit.Result.YES;
- }
-});