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 : 24. May 2025, 09:20:15
Autres entêtes
Organisation : A little, after lunch
Message-ID : <100rvfv$jmot$2@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 24/05/2025 06:43, c186282 wrote:
On 5/23/25 8:26 AM, The Natural Philosopher wrote:
I have a shell script that monitors hardware stuff - it needs to run as root and be called by Apache as user www.
>
Bookworm linux on a Pi4.
>
Its all inside a domestic firewall so security is not a huge issue.
What is the quickest and simplest solution to this?
Ummm ... just sayin' ... do you REALLY want/need that ???
Seems like a recipe for sure disaster.
Why on earth would you say that?
If I told you that you didnt need an engine start switch inside your car because it was a security hazard, you would be puzzled, too,.
-- The biggest threat to humanity comes from socialism, which has utterly diverted our attention away from what really matters to our existential survival, to indulging in navel gazing and faux moral investigations into what the world ought to be, whilst we fail utterly to deal with what it actually is.