Liste des Groupes | Revenir à col misc |
On Fri, 23 May 2025 13:51:57 +0100, Pancho wrote:So I discovered...and that is fair enough, as its a *bit* of security hole
On 5/23/25 13:26, The Natural Philosopher wrote:FWIW, the Linux kernel does not honour the setuid bit when running hashbangI 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?
>
>
Dunno, change script ownership to root and use setuid, sudo chmod u+s.
It used to work, nowadays who knows? It did used to provide security holes.
scripts.
Les messages affichés proviennent d'usenet.