Sujet : Re: Simple way for web to execute root shell script.
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc comp.sys.raspberry-piDate : 29. May 2025, 12:03:02
Autres entêtes
Organisation : A little, after lunch
Message-ID : <1019et6$3qn0v$2@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 29/05/2025 04:04, vallor wrote:
On Sun, 25 May 2025 09:42:32 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <100uom7$1aabi$1@dont-email.me>:
On Sun, 25 May 2025 08:52:46 +0100, The Natural Philosopher wrote:
>
Sadly USB attached SSDS do not show up...
>
Try smartctl(8) for them.
Good call, but may need to specify a bridge for an external SSD,
e.g.:
I don't.
smartctl -a /dev/sd[ab] works fine...
And in the end solving the 'root script' problem was simpler than solving the 'how do I read the disk temp without root' problem.
-- “Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong remedies.”― Groucho Marx