Announcement

Collapse
No announcement yet.

running a sensor program with sudo in karamba?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    running a sensor program with sudo in karamba?

    i am trying to find a way to run hddtemp as root for use in a karamba theme, since running it as a regular user doesn't work...

    does anyone know of a way to do this? is it possible to pass the password to sudo in the command instead of waiting for the prompt?

    any help would be appreciated...

    #2
    Re: running a sensor program with sudo in karamba?

    How about running the entire program as root? Just a thought, I don't know if it would work, but it may be worth a try

    Comment


      #3
      Re: running a sensor program with sudo in karamba?

      thatś what i am doing now, but it means that every time i log in i have to put my password twice: once to log in and once for superkaramba

      Comment


        #4
        Re: running a sensor program with sudo in karamba?

        Hi,

        I've just tried it and if you reconfigure it, it will ask if you want to set the suid bit for hddtemp, meaning that you will be able to run it as any user. So just type in :
        sudo dpkg-reconfigure hddtemp
        and on the first question (about suid) answer yes. It's working

        Cheers

        Comment


          #5
          Re: running a sensor program with sudo in karamba?

          sweet! you are the man! (and this dpkg-reconfigure thing keeps proving useful...)

          Comment

          Working...
          X