Eric Callahan
ea4ec1f424
scripts: add halt polkit rules
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-02-08 11:11:34 -05:00
Attila BODY
cd6db1ee75
scripts: Following polkit versioning scheme change
...
Signed-off-by: Attila Body <attila.body@gmail.com>
2022-07-19 17:35:30 -04:00
Eric Callahan
d84f93d381
polkit: add flag to disable systemctl
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-19 14:46:15 -04:00
Eric Callahan
10ac044485
scripts: add a --root argument to set-policykit-rules.sh
...
If a user specifies this then root is allowed to run the script.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-30 15:20:49 -05:00
Eric Callahan
13591d0a5b
scripts: do not allow set-policykit-rules.sh to run as root
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-29 14:07:15 -05:00
Eric Callahan
7c8c0e715f
scripts: update set-policykit-rules.sh
...
Check for the moonraker-admin Supplementary group
in the moonraker service file and add it if necessary.
For PolKit versions > 0.106 make sure that the process
is launched with the moonraker-admin group before
granting any polkit permissions.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
a92847771d
scripts: add set-policykit-rules.sh
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00