y
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Hi,
>
> I have a message error with cpufreq module when trying to change the cpu
> freq governor. I've seen in the source code that the module directly write
> into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor , but this file
> is accessible only by root. Are you all working as root or is there a
> another way to make it work correctly ?
no no no, NEVER use root as a user account :)
you have to setuid the freqset utility e installs in the module subdirectory
# chmod u+s freqset
This way whenever it is executed, it is executed as its owner, root, not as its
real user, you.
but some see it as a security hazard
To avoid sec problems, I set it to r-s--x--x rights and it is owned by root.
Mathieu
--
Linux is organic. Its not cleanly laid out. Its not specified in some
document. Linux is result of evolution as "nature" as dictated. This
drives some people nuts, but at the end of the day, it _works_.
Jeff Garzik, on LKML
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users