Sujet : 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 : 23. May 2025, 13:26:34
Autres entêtes
Organisation : A little, after lunch
Message-ID : <100pphq$2taj$2@dont-email.me>
User-Agent : Mozilla Thunderbird
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?
--
"Anyone who believes that the laws of physics are mere social conventions is invited to try transgressing those conventions from the windows of my apartment. (I live on the twenty-first floor.) "
Alan Sokal