I'm trying to let members of the group labmembers
adjust the CPU frequency scaling on a system using cpufreq-selector
. However, by default, this is restricted to members of the admin
group.
Per this question, I've created the following file:
/etc/polkit-1/localauthority/30-site.d$ cat 50-cpufreq.pkla
[CPU Frequency should be allowed for everyone]
AdminIdentities=unix-group:labmembers
Action=org.gnome.cpufreqselector
ResultActive=yes
ResultInactive=yes
However, it seems to have no effect. I can't find any command to reload PolicyKit's configuration, and rebooting doesn't do it either. I've also tried naming it 50-cpufreq.conf
, to no more effect. There's nothing I've found that would tell me whether a pkla file is well-formed or anything like that, either.
What am I missing?