* permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
@ 2006-01-18 10:34 anders
2006-01-18 19:53 ` Dave Jones
2006-01-18 20:44 ` Mattia Dongili
0 siblings, 2 replies; 4+ messages in thread
From: anders @ 2006-01-18 10:34 UTC (permalink / raw)
To: cpufreq
Hi,
I'd like for a selected group of users to be able to change the frequency.
However, /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed is:
-rw-r--r-- 1 root root 4096 Jan 18 11:24 scaling_setspeed
What's the best way to change that to another group and g+w ? (and no, I don't
want to fiddle with sudo...)
/Anders
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
2006-01-18 10:34 permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed anders
@ 2006-01-18 19:53 ` Dave Jones
2006-01-18 20:44 ` Mattia Dongili
1 sibling, 0 replies; 4+ messages in thread
From: Dave Jones @ 2006-01-18 19:53 UTC (permalink / raw)
To: anders; +Cc: cpufreq
On Wed, Jan 18, 2006 at 11:34:23AM +0100, anders@latitude.mynet.no-ip.org wrote:
> I'd like for a selected group of users to be able to change the frequency.
> However, /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed is:
>
> -rw-r--r-- 1 root root 4096 Jan 18 11:24 scaling_setspeed
>
> What's the best way to change that to another group and g+w ? (and no, I don't
> want to fiddle with sudo...)
it's not really designed to be used on a per-user basis.
How can it be ? Imagine one user wants to set the speed low, whilst
another wants it high.
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
2006-01-18 10:34 permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed anders
2006-01-18 19:53 ` Dave Jones
@ 2006-01-18 20:44 ` Mattia Dongili
2006-01-18 22:20 ` anders
1 sibling, 1 reply; 4+ messages in thread
From: Mattia Dongili @ 2006-01-18 20:44 UTC (permalink / raw)
To: anders; +Cc: cpufreq
On Wed, Jan 18, 2006 at 11:34:23AM +0100, anders@latitude.mynet.no-ip.org wrote:
>
> Hi,
>
> I'd like for a selected group of users to be able to change the frequency.
> However, /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed is:
>
> -rw-r--r-- 1 root root 4096 Jan 18 11:24 scaling_setspeed
>
> What's the best way to change that to another group and g+w ? (and no, I don't
> want to fiddle with sudo...)
you could install cpufrequtils and play with the suid bit and g/o
permissions for cpufreq-set, eg:
-rwsr-x--- 1 root cpufreq 11976 2005-12-20 22:52 /usr/bin/cpufreq-set
But Dave is right, it doesn't make much sense.
--
mattia
:wq!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
2006-01-18 20:44 ` Mattia Dongili
@ 2006-01-18 22:20 ` anders
0 siblings, 0 replies; 4+ messages in thread
From: anders @ 2006-01-18 22:20 UTC (permalink / raw)
To: cpufreq
malattia@linux.it said:
> you could install cpufrequtils and play with the suid bit and g/o permissions
> for cpufreq-set, eg:
>
> -rwsr-x--- 1 root cpufreq 11976 2005-12-20 22:52 /usr/bin/cpufreq-set
>
> But Dave is right, it doesn't make much sense. --
Ah, of course, that would work! (This is a single-user laptop so the
multi-ambition problems of a real multi-user system aren't there).
Thanks,
/Anders
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-18 22:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-18 10:34 permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed anders
2006-01-18 19:53 ` Dave Jones
2006-01-18 20:44 ` Mattia Dongili
2006-01-18 22:20 ` anders
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.