Polkit rules should use wheel group instead of sudo
sudo
is nonstandard group name (and don't event exists on my system) and shouldn't be used as defaults.
wheel
group is standard group for superadmins in polkit, gnome and many other software.
Currently polkit rules uses sudo
group for permission checks.
root in /usr/share/polkit-1/rules.d
➜ grep -r sudo
com.endlessm.ParentalControls.rules: subject.isInGroup("sudo")) {
root in /usr/share/polkit-1/rules.d
➜ grep -r wheel
org.freedesktop.bolt.rules: subject.isInGroup("wheel")) {
50-default.rules: return ["unix-group:wheel"];
org.freedesktop.Flatpak.rules: subject.isInGroup("wheel")) {
org.gtk.vfs.file-operations.rules:// Allows users belonging to wheel group to start gvfsd-admin without
org.gtk.vfs.file-operations.rules: subject.isInGroup ("wheel")) {
org.freedesktop.fwupd.rules: subject.isInGroup("wheel")) {
gnome-control-center.rules: subject.isInGroup ("wheel")) {
Edited by Sergey Shatunov