Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #67890

Re: Simple way for web to execute root shell script.

From Anssi Saari <anssi.saari@usenet.mail.kapsi.fi>
Newsgroups comp.os.linux.misc, comp.sys.raspberry-pi
Subject Re: Simple way for web to execute root shell script.
Date 2025-05-29 10:07 +0300
Organization An impatient and LOUD arachnid
Message-ID <sm0a56vgaip.fsf@lakka.kapsi.fi> (permalink)
References (4 earlier) <100ui8f$1904l$1@dont-email.me> <sm0y0ujg4j8.fsf@lakka.kapsi.fi> <101586p$2q87b$1@dont-email.me> <1016fo2$355q7$2@dont-email.me> <1017s0b$3dqre$2@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


druck <news@druck.org.uk> writes:

> On 28/05/2025 08:58, The Natural Philosopher wrote:
>> On 27/05/2025 21:44, druck wrote:
>> It does work with smartcl, Not with lm-sensors
>
> Sorry, picked up on the wrong part of the post.
>
> lm-sensors wont work with external USB drives as it only knows about
> things connected to the internal busses of a machine such as acpi and
> i2c, and the Pi only had the latter.

No. See for example here:
https://www.kernel.org/doc/html/latest/hwmon/drivetemp.html, the
drivetemp driver uses ATA commands to read temperatures from drives or
alternatively, using SMART attributes. lm-sensors either uses the
drivetemp kernel driver or just reads from /sys/class/hwmon.

Which is why I said before, I find it odd if smartctl works and
drivetemp does not, although AFAiK no one has actually tried that in
this thread.

Unfortunately I don't have any recent USB HDs around. I do have an
USB-SSD case but don't have a spare SSD to put into it right now.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 13:26 +0100
  Re: Simple way for web to execute root shell script. Pancho <Pancho.Jones@protonmail.com> - 2025-05-23 13:51 +0100
    Re: Simple way for web to execute root shell script. Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-05-23 14:47 +0000
      Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 16:06 +0100
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 16:00 +0100
  Re: Simple way for web to execute root shell script. Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-05-23 14:08 +0000
    Re: Simple way for web to execute root shell script. Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-05-23 14:23 +0000
      Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 16:03 +0100
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 16:02 +0100
      Re: Simple way for web to execute root shell script. Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-05-23 17:24 +0200
        Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 17:53 +0100
        Re: Simple way for web to execute root shell script. Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-24 00:37 +0000
  Re: Simple way for web to execute root shell script. John-Paul Stewart <jpstewart@personalprojects.net> - 2025-05-23 10:14 -0400
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 16:05 +0100
  Re: Simple way for web to execute root shell script. Eli the Bearded <*@eli.users.panix.com> - 2025-05-23 16:46 +0000
  Re: Simple way for web to execute root shell script. Rich <rich@example.invalid> - 2025-05-23 18:44 +0000
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-23 21:44 +0100
      Re: Simple way for web to execute root shell script. Rich <rich@example.invalid> - 2025-05-24 02:13 +0000
        Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-24 09:18 +0100
      Re: Simple way for web to execute root shell script. Theo <theom+news@chiark.greenend.org.uk> - 2025-05-24 08:27 +0100
      Re: Simple way for web to execute root shell script. Chris Elvidge <chris@internal.net> - 2025-05-24 13:28 +0100
      Re: Simple way for web to execute root shell script. Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-05-25 10:17 +0300
        Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-25 08:52 +0100
          Re: Simple way for web to execute root shell script. Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-25 09:42 +0000
            Re: Simple way for web to execute root shell script. vallor <vallor@cultnix.org> - 2025-05-29 03:04 +0000
              Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-29 12:03 +0100
          Re: Simple way for web to execute root shell script. Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-05-26 11:27 +0300
            Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-26 12:31 +0100
            Re: Simple way for web to execute root shell script. druck <news@druck.org.uk> - 2025-05-27 21:44 +0100
              Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-28 08:58 +0100
                Re: Simple way for web to execute root shell script. druck <news@druck.org.uk> - 2025-05-28 21:34 +0100
                Re: Simple way for web to execute root shell script. Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-05-29 10:07 +0300
                Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-29 12:14 +0100
                Re: Simple way for web to execute root shell script. Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-05-30 20:53 +0300
                Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-30 19:36 +0100
                Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-29 11:36 +0100
                Re: Simple way for web to execute root shell script. Rich <rich@example.invalid> - 2025-05-29 14:41 +0000
                Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-29 18:47 +0100
  Re: Simple way for web to execute root shell script. druck <news@druck.org.uk> - 2025-05-23 22:17 +0100
  Re: Simple way for web to execute root shell script. Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-23 23:11 +0000
  Re: Simple way for web to execute root shell script. c186282 <c186282@nnada.net> - 2025-05-24 01:43 -0400
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-24 09:20 +0100
      Re: Simple way for web to execute root shell script. Richard Kettlewell <invalid@invalid.invalid> - 2025-05-24 10:58 +0100
        Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-24 11:27 +0100
        Re: Simple way for web to execute root shell script. Eli the Bearded <*@eli.users.panix.com> - 2025-05-24 17:55 +0000
          Re: Simple way for web to execute root shell script. Richard Kettlewell <invalid@invalid.invalid> - 2025-05-24 19:24 +0100
      Re: Simple way for web to execute root shell script. Rich <rich@example.invalid> - 2025-05-24 15:41 +0000
  Re: Simple way for web to execute root shell script. Andrew Smallshaw <andrews@sdf.org> - 2025-05-24 17:35 +0000
    Re: Simple way for web to execute root shell script. Fritz Wuehler <fritz@spamexpire-202505.rodent.frell.theremailer.net> - 2025-05-24 23:34 +0200
  Re: Simple way for web to execute root shell script. Dominik Ałaszewski <Dominik.Alaszewski@gazeta.pl.invalid> - 2025-05-26 17:24 +0000
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-05-26 20:44 +0100
      Re: Simple way for web to execute root shell script. Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-26 22:22 +0000
    Re: Simple way for web to execute root shell script. c186282 <c186282@nnada.net> - 2025-05-27 01:48 -0400
  Re: Simple way for web to execute root shell script. Chris Narkiewicz <hello@ezaquarii.com> - 2025-06-04 08:18 +0100
    Re: Simple way for web to execute root shell script. The Natural Philosopher <tnp@invalid.invalid> - 2025-06-04 13:12 +0100

csiph-web