running hddtemp sensor as non-root
Roger D Vargas
luo_hei at yahoo.es
Mon Jul 2 21:34:07 CEST 2007
Matt Thompson escribiÃ³:
>>> It appears that in FC7 /usr/bin/hddtemp is linked to "consolehelper", which is
>>> part of the "usermode" rpm package, which uses pam to authenticate and
>>> run things as root:
>>> Description :
>>> The usermode package contains the userhelper program, which can be
>>> used to allow configured programs to be run with superuser privileges
>>> by ordinary users.
>>> Anyway, thats why hddtemp (and probably the sensors plugin) works just
>>> fine as a regular user in Fedora.
>> I wil check if it is available for gentoo.
> There is another way this could be done in Gentoo that really isn't done
> in Fedora (since it's user-accessible). If the hddtemp daemon is
> running, it can often be set to use a port and then netcat can get the
> temperature. This thread shows how this was done in Ubuntu:
I thought that the preferred method for the plugin was to ask directly
to daemon, not to use hddtemp.
http://dsgp.blogspot.com | 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