running hddtemp sensor as non-root

Roger D Vargas luo_hei at
Mon Jul 2 18:06:16 CEST 2007

Zach Carter escribió:

> On my FC7 system, hddtemp runs as a daemon as root, but you can query it as a regular user.
> [carter at hoth ~]$ hddtemp /dev/sda
> /dev/sda: ST3160827AS: 46°C
> [carter at hoth ~]$ id
> uid=500(carter) gid=500(carter) groups=12(mail),500(carter),501(workplace)
> [carter at hoth ~]$ 
> Why do you need to run it as root?
When i try to run as normal user I got an error: cant open /dev/hda
I also have hddtemp running as daemon, but I guess sensors plugin doesnt 
query the daemon, but tries to run directly /usr/sbin/hddtemp.

-- | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me

LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto.

More information about the Xfce mailing list