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

 
 

bug #10000: CPUTemp needs sudo configuration

Submitted by:  None
Submitted on:  Fri 13 Aug 2004 04:22:51 AM UTC  
 
Category: AppletsSeverity: 3 - Normal
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned to: Nic Sandfield <niczero>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Nov 2010 11:13:22 AM UTCniczeroStatusNone=>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.1-cleanup1