Re: [gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Richard Fish
On 1/21/06, Alexander Skwar <[EMAIL PROTECTED]> wrote: > Don't worry. I guess I'll have to setuid hddtemp then. Not necessarily. rc-update -a hddtemp default (or "/etc/init.d/hddtemp start" as root) telnet localhost 7634 See man hddtemp. -Richard -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Alexander Skwar
Rasmus Andersen wrote: > I get this too. stracing the hddtemp process shows that it tries to > perform some ioctls on the device and get EACCESS back, probably from > some uid check in the kernel. Ah, okay, so the permissions on /dev/hda don't matter that much. Understood. Thanks! > The check i

Re: [gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Rasmus Andersen
On Sat, Jan 21, 2006 at 04:06:44PM +0100, Alexander Skwar wrote: > > Does the group have the > > right to execute hddtemp? > > Yep: > > [EMAIL PROTECTED] ~ $ ls -la `which hddtemp` > -rwxr-xr-x 1 root root 27712 21. Jan 08:02 /usr/sbin/hddtemp > > BTW: sudo is also not what I'm after :) I'm aft

Re: [gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Alexander Skwar
Holly Bostick wrote: > Alexander Skwar schreef: >> Why do I get the Permission denied error message? And >> what's to be done? > > Isn't hddtemp a daemon Not necessarily. It can be run in daemon mode, though. > Does the group have the > right to execute hddtemp? Yep: [EMAIL PROTECTED] ~ $ ls

Re: [gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Holly Bostick
Alexander Skwar schreef: > Hello! > > I'd like to be able to run "hddtemp" > with "plain" user rights - ie. not with root > rights. What's to be done, so that this is > possible? > > > As you can see, I get the error message "Permission > denied" when I r

[gentoo-user] Running "hddtemp" with plain user rights

2006-01-21 Thread Alexander Skwar
Hello! I'd like to be able to run "hddtemp" with "plain" user rights - ie. not with root rights. What's to be done, so that this is possible? [EMAIL PROTECTED] ~ $ LC_ALL=C hddtemp /dev/hda /dev/hda: Permission denied [EMAIL PROTECTED] ~ $ ls -la /dev/hda b