ルール作ってpolkit再起動でOK
sudo tee /etc/polkit-1/rules.d/02-allow-colord.rules <<'...'
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/rules.d/03-allow-wifi.rules <<'...'
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
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"
$ pkaction --version
pkaction version 123