conf作ってpolkit再起動でOK
sudo tee /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf <<'...'
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.color-manager.create-device" ||
action.id == "org.freedesktop.color-manager.create-profile" ||
action.id == "org.freedesktop.color-manager.delete-device" ||
action.id == "org.freedesktop.color-manager.delete-profile" ||
action.id == "org.freedesktop.color-manager.modify-device" ||
action.id == "org.freedesktop.color-manager.modify-profile") &&
subject.isInGroup("{users}")) {
return polkit.Result.YES;
}
});
...
sudo tee /etc/polkit-1/localauthority.conf.d/03-allow-wifi.conf <<'...'
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.NetworkManager.wifi.scan" &&
subject.isInGroup("{users}")) {
return polkit.Result.YES;
}
});
...
sudo systemctl restart polkit.service