mirror of
https://github.com/systemd/systemd.git
synced 2026-01-20 08:33:11 +03: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)
Files in this directory contain configuration for systemd-sysusers, a program to allocate system users and groups. See man:sysusers.d(5) for explanation of the configuration file format, and man:systemd-sysusers(8) for a description of when and how this configuration is applied. Use 'systemd-analyze cat-config sysusers.d' to display the effective config.