sensors only as root?
Hi,
I've had a look through the docs / FAQ, but can't find the answer to my question.
I've just set up lmsensors-2.7.0 on my machine, but I can only run sensors as root. I'm using the it87 module, and have also loaded i2c-proc, -dev and -isa. I have chmod'ed /dev/i2c0 and /dev/i2c-0 to be read/writable as my non-root users, but I still only get "No sensors found!" when I run sensors as a user other than root.
Can you tell me what permissions I may have to change in order to run sensors as non-root users. My other machine can do this with no problems, although that uses different drivers, etc., plus I set it up 2 years ago and can't remember if I needed to change any permissions on it to get it to work properly.
Cheers,
--Dave
Signature · 2 lines
Dave Smith [email protected]
Very strange.
Haven't heard this one before.
You can check the permissions on /proc/sys/dev/sensors contents. You can also try 'strace sensors' to try and see what's failing. Most of the accesses are via sysctl calls.
Quoted 21 lines · Dave Smith
Hi,
I've had a look through the docs / FAQ, but can't find the answer to my question.
I've just set up lmsensors-2.7.0 on my machine, but I can only run sensors as root. I'm using the it87 module, and have also loaded i2c-proc, -dev and -isa. I have chmod'ed
/dev/i2c0and/dev/i2c-0to be read/writable as my non-root users, but I still only get "No sensors found!" when I run sensors as a user other than root.Can you tell me what permissions I may have to change in order to run sensors as non-root users. My other machine can do this with no problems, although that uses different drivers, etc., plus I set it up 2 years ago and can't remember if I needed to change any permissions on it to get it to work properly.
Cheers,
--Dave