Giter VIP home page Giter VIP logo

Comments (5)

raveit65 avatar raveit65 commented on August 28, 2024

I think we should leave that for next dev cycle.
I am complete busy with other releasing stuff.
Sadly, my old 3ware hardware-raid-controller-card is incompatible with my new mobo, so i can't test old scripts for reading temps of disks behind a hardware-raid array.
With the card i used commands like this with a script.

#!/bin/bash

smartctl -d 3ware,0 -A /dev/twa0 | grep Temperature_Celsius | awk '{print $10}'

I used the script with the command applet from xfce at this time.
I recal that i changed permissions of /dev/twa0 device with the rc.local script to make it readable for my common user.
So this should be the way to test temps from smartctl or hdtemp with a command.

from mate-sensors-applet.

info-cppsp avatar info-cppsp commented on August 28, 2024

I don't mean this for 1.20 right now...
OK, If I don't have to worry about the permissions, this shouldn't be so difficult.

from mate-sensors-applet.

raveit65 avatar raveit65 commented on August 28, 2024

I am not really sure any more about this plugin.
As personal i don't use a hardware-raid-controller any more.
And i don't know if this is unsecure to suggest a user to change permission for devices /dev/
@lukefromdc
What do you think?

from mate-sensors-applet.

lukefromdc avatar lukefromdc commented on August 28, 2024

Not sure about this, but I suspect if a user could change ALL the permissions in /dev, then that user would gain access to all devices on the box and I suspect there would somehow be a way to leverage that into privilige escalation by gaining user priviliges on / as / is on a device listed in /dev . Thus, this needs more research.

from mate-sensors-applet.

info-cppsp avatar info-cppsp commented on August 28, 2024

How about instead of allowing a full shell command, one could only set up a file.
This would then be read by the plugin every refresh time for a double.
How the user gets a double value into the file is not my problem.

We could write an example in the documentation to set up a cron job to write to the file...

from mate-sensors-applet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.