bugPerlPanel - Bugs: bug #10000, CPUTemp needs sudo configuration

 
 

bug #10000: CPUTemp needs sudo configuration

Submitter:  None
Submitted:  Fri 13 Aug 2004 04:22:51 AM UTC
   
 
Category:  Applets Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  niczero
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 03 Nov 2010 11:13:22 AM UTC, comment #1: 

I'm testing a patch that sets 'sudo' usage as the default.
Actually I'm thinking the applet should test at configuration,
and use whatever works and show a useful error dialogue if
both fail.
[I'll leave this bug open till the replacement has been uploaded.]

Nic Sandfield <niczero>
Group administrator
Fri 13 Aug 2004 04:22:51 AM UTC, original submission:  

Simply installing the mbmon program won't work.

sample error output:
  InitMBInfo: Operation not permitted
  This program needs "setuid root"!!

To securely work-around:
1. edit /etc/sudoers to read something like:
   myusername  ALL=NOPASSWD:/usr/bin/mbmon
2. edit /usr/share/perlpanel/perlpanel/Applet/CPUTemp.pm
   in the '# update function' section
   change 'mbmon' to 'sudo mbmon'


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by niczero (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-03 niczero StatusNone In Progress
        Assigned toNone niczero
        SummaryCPUTemp Applet dependencies result in temp of \'0\' CPUTemp needs sudo configuration

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code