/* Copy this to /etc/polkit-1/rules.d/80-networkmanager-wheel-without-authentication.rules */ polkit.addRule(function(action, subject) { if (/^org\.freedesktop\.NetworkManager\./.test(action.id) && subject.local && subject.active && subject.isInGroup("wheel")) { return polkit.Result.YES; } });