diff options
| author | Roman Ilin <me@romanilin.is> | 2026-06-15 12:59:09 +0300 |
|---|---|---|
| committer | Roman Ilin <me@romanilin.is> | 2026-06-15 22:04:41 +0300 |
| commit | 5e4bf1268c266e63d0e92e845ad910a2103b86ff (patch) | |
| tree | 532c01a9658a05048ef1ba76d4f30fca84005643 /roles/host/files | |
| download | infrastructure-main.tar.gz | |
Diffstat (limited to 'roles/host/files')
| -rw-r--r-- | roles/host/files/60-machinectl-fast-user-auth.rules | 6 |
1 files changed, 6 insertions, 0 deletions
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; + } +}); |