running hddtemp sensor as non-root

Krisztian VASAS iron at ironiq.hu
Sun Jul 1 18:54:19 CEST 2007


On Fri Jun 29, 2007 at 12:27:40 -0400, Roger D Vargas wrote:
>
>
>Krisztian VASAS escribió:
>> On Fri Jun 29, 2007 at 10:38:52 -0400, Roger D Vargas wrote:
>>> After some research i found why I couldnt use hdd temperature sensor. 
>>> Seems that it only works for root. Is there some way to make it work for 
>>> unprivileged users too?
>> 
>> use with sudo
>Can you give an example? I havent used sudo.

1. man sudoers

2. put something like this into the sudoers and you'll can use hddtemp as
user with sudo:
 username ALL=(ALL) NOPASSWD: /usr/sbin/hddtemp


IroNiQ
-- 
Member of Frugalware Developer Team
Web: http://www.ironiq.hu
LinuxCounter: #331532
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20070701/e11d6199/attachment.pgp>


More information about the Xfce mailing list