mirror of
https://github.com/systemd/systemd.git
synced 2026-07-24 16:25:52 +00: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