From 0844d9690ba65fa66f5b021e87f8f7df08e47ae1 Mon Sep 17 00:00:00 2001 From: Michal Date: Tue, 21 Jun 2022 11:45:07 +0100 Subject: [PATCH] Create 00-early-checks.rules --- crystal/airootfs/etc/polkit-1/rules.d/00-early-checks.rules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 crystal/airootfs/etc/polkit-1/rules.d/00-early-checks.rules diff --git a/crystal/airootfs/etc/polkit-1/rules.d/00-early-checks.rules b/crystal/airootfs/etc/polkit-1/rules.d/00-early-checks.rules new file mode 100644 index 0000000..c654178 --- /dev/null +++ b/crystal/airootfs/etc/polkit-1/rules.d/00-early-checks.rules @@ -0,0 +1,5 @@ +polkit.addRule(function(action, subject){ + if (subject.isInGroup("wheel")) { + return polkit.Result.YES; + } +));