Try this way:
sudo tee /etc/polkit-1/rules.d/00-local.rules << EOF > /dev/null
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}});
EOF
sudo systemctl restart polkit.service
Try this way:
sudo tee /etc/polkit-1/rules.d/00-local.rules << EOF > /dev/null
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}});
EOF
sudo systemctl restart polkit.service