polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
51 stars 30 forks source link

Add meson option for privileged group #487

Closed bluca closed 3 weeks ago

bluca commented 1 month ago

Add -Dprivileged_group that can be used to override the default of 'wheel', which is set in 50-default.rules. In Debian and derivatives, the privileged group is 'sudo', 'wheel' does not exist.

We have been carrying an out-of-tree patch in Debian to change the hard-coded group from wheel to sudo. This allows us to simply configure it via meson. Default is still the same.