mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
A --empower session is effectively root without being UID 0, so it doesn't make sense to enforce polkit authentication in those. Let's add the empower group, add --empower sessions to that group and ship a polkit rule to skip authentication for all users in the empower group. (As a side-effect this will also allow users to add themselves to this group outside of 'run0 --empower' to mimick NOPASSWD from sudo)
1.6 KiB
1.6 KiB