From 5e4bf1268c266e63d0e92e845ad910a2103b86ff Mon Sep 17 00:00:00 2001 From: Roman Ilin Date: Mon, 15 Jun 2026 12:59:09 +0300 Subject: --- roles/host/files/60-machinectl-fast-user-auth.rules | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/host/files/60-machinectl-fast-user-auth.rules (limited to 'roles/host/files/60-machinectl-fast-user-auth.rules') diff --git a/roles/host/files/60-machinectl-fast-user-auth.rules b/roles/host/files/60-machinectl-fast-user-auth.rules new file mode 100644 index 0000000..eee39ea --- /dev/null +++ b/roles/host/files/60-machinectl-fast-user-auth.rules @@ -0,0 +1,6 @@ +polkit.addRule(function(action, subject) { + if(action.id == "org.freedesktop.machine1.host-shell" && + subject.isInGroup("wheel")) { + return polkit.Result.YES; + } +}); -- cgit