/usr/share/polkit-1/rules.d/unity-control-center.rules is in unity-control-center 14.04.3+14.04.20140410-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.hostname1.set-static-hostname" &&
subject.local &&
subject.active &&
subject.isInGroup ("wheel")) {
return polkit.Result.YES;
}
});
|