You are not logged in.
Pages: 1
Hello,
Is there a way set frequency with cpufreq-set as non-root user? I've set sudo so that all group wheel users can set frequency without password. And I've also done following commands:
chown root.wheel -R /sys/devices/system/cpu/cpu0/cpufreq/conservative/
chmod g=rw /sys/devices/system/cpu/cpu0/cpufreq/conservative/*
Everything working like a charm, but I can't set permissions at boot. I tired insert aforesaid commands to /etc/rc.local, but still permissions will not set.
-trilog
Last edited by trilog (2008-01-30 15:04:06)
Offline
It is strange that those commands do not work in rc.local, but couldn't you edit sudoers so that the users in wheel can execute directly cpufreq-set * ?
Mortuus in anima, curam gero cutis
Offline
It is strange that those commands do not work in rc.local, but couldn't you edit sudoers so that the users in wheel can execute directly cpufreq-set * ?
Yes.
The weird think is; If I run /etc/rc.local manually then permissions will set.
Offline
Mmm. A PATH problem? Did you try to use absolute paths for executables in /etc/rc.local?
Mortuus in anima, curam gero cutis
Offline
Stupid me. I just added command cpufreq-set -gconservative to /etc/rc.local and now it works.
Thanks for advices.
Offline
Pages: 1