Hello!
I'd like to be able to run hddtemp http://www.guzu.net/linux/hddtemp.php
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
Alexander Skwar schreef:
Hello!
I'd like to be able to run hddtemp http://www.guzu.net/linux/hddtemp.php
with plain user rights - ie. not with root
rights. What's to be done, so that this is
possible?
snip
As you can see, I get the error message Permission
denied when I run hddtemp
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 -la
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 after the
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
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
6 matches
Mail list logo