13 lines
720 B
Plaintext
13 lines
720 B
Plaintext
|
|
# polkit (0.105, local authority): lets the svc-gw user power the host off through
|
||
|
|
# logind, with no sudo. svc-gw runs `systemctl poweroff` for the display's
|
||
|
|
# `poweroff` command (contracts BOUNDARY.md). Nothing else is granted.
|
||
|
|
# Installed to /etc/polkit-1/localauthority/50-local.d/ by scripts/deploy.sh.
|
||
|
|
# multiple-sessions: an ssh login is another session; ignore-inhibit: no inhibitor lock
|
||
|
|
# (none are taken on this host today) should leave the button silently doing nothing.
|
||
|
|
[yukart-gw: power off]
|
||
|
|
Identity=unix-user:mikkeli
|
||
|
|
Action=org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.power-off-ignore-inhibit
|
||
|
|
ResultAny=yes
|
||
|
|
ResultInactive=yes
|
||
|
|
ResultActive=yes
|