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

Liste des GroupesRevenir à col misc 
Sujet : Re: Simple way for web to execute root shell script.
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.misc
Date : 26. May 2025, 23:22:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1012pk0$27hrr$1@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.162 (Pokrosvk)
On Mon, 26 May 2025 20:44:58 +0100, The Natural Philosopher wrote:

On 26/05/2025 18:24, Dominik Ałaszewski wrote:
>
One can consider communicating via files. Apache writes a file in a
certain location (perhaps with the arguments for the script),
script run (as root) is then triggered via inotify mechanism (one can
utilise i.e. incron),
the results are written to another file, readable by Apache.
 
Why make stuff more complicated than it has to be?

Separation of privileges.

Replace “file + inotify” with “unix socket”, and you have a simpler
solution that still maintains the same separation of privileges.

Date Sujet#  Auteur
23 May 25 * Simple way for web to execute root shell script.54The Natural Philosopher
23 May 25 +* Re: Simple way for web to execute root shell script.4Pancho
23 May 25 i+* Re: Simple way for web to execute root shell script.2Lew Pitcher
23 May 25 ii`- Re: Simple way for web to execute root shell script.1The Natural Philosopher
23 May 25 i`- Re: Simple way for web to execute root shell script.1The Natural Philosopher
23 May 25 +* Re: Simple way for web to execute root shell script.7Lew Pitcher
23 May 25 i+* Re: Simple way for web to execute root shell script.2Lew Pitcher
23 May 25 ii`- Re: Simple way for web to execute root shell script.1The Natural Philosopher
23 May 25 i`* Re: Simple way for web to execute root shell script.4The Natural Philosopher
23 May 25 i `* Re: Simple way for web to execute root shell script.3Marc Haber
23 May 25 i  +- Re: Simple way for web to execute root shell script.1The Natural Philosopher
24 May 25 i  `- Re: Simple way for web to execute root shell script.1Lawrence D'Oliveiro
23 May 25 +* Re: Simple way for web to execute root shell script.2John-Paul Stewart
23 May 25 i`- Re: Simple way for web to execute root shell script.1The Natural Philosopher
23 May 25 +- Re: Simple way for web to execute root shell script.1Eli the Bearded
23 May 25 +* Re: Simple way for web to execute root shell script.23Rich
23 May 25 i`* Re: Simple way for web to execute root shell script.22The Natural Philosopher
24 May 25 i +* Re: Simple way for web to execute root shell script.2Rich
24 May 25 i i`- Re: Simple way for web to execute root shell script.1The Natural Philosopher
24 May 25 i +- Re: Simple way for web to execute root shell script.1Theo
24 May 25 i +- Re: Simple way for web to execute root shell script.1Chris Elvidge
25 May 25 i `* Re: Simple way for web to execute root shell script.17Anssi Saari
25 May 25 i  `* Re: Simple way for web to execute root shell script.16The Natural Philosopher
25 May 25 i   +* Re: Simple way for web to execute root shell script.3Lawrence D'Oliveiro
29 May 25 i   i`* Re: Simple way for web to execute root shell script.2vallor
29 May 25 i   i `- Re: Simple way for web to execute root shell script.1The Natural Philosopher
26 May 25 i   `* Re: Simple way for web to execute root shell script.12Anssi Saari
26 May 25 i    +- Re: Simple way for web to execute root shell script.1The Natural Philosopher
27 May 25 i    `* Re: Simple way for web to execute root shell script.10druck
28 May 25 i     `* Re: Simple way for web to execute root shell script.9The Natural Philosopher
28 May 25 i      `* Re: Simple way for web to execute root shell script.8druck
29 May 25 i       +* Re: Simple way for web to execute root shell script.4Anssi Saari
29 May 25 i       i`* Re: Simple way for web to execute root shell script.3The Natural Philosopher
30 May 25 i       i `* Re: Simple way for web to execute root shell script.2Anssi Saari
30 May 25 i       i  `- Re: Simple way for web to execute root shell script.1The Natural Philosopher
29 May 25 i       `* Re: Simple way for web to execute root shell script.3The Natural Philosopher
29 May 25 i        `* Re: Simple way for web to execute root shell script.2Rich
29 May 25 i         `- Re: Simple way for web to execute root shell script.1The Natural Philosopher
23 May 25 +- Re: Simple way for web to execute root shell script.1druck
24 May 25 +- Re: Simple way for web to execute root shell script.1Lawrence D'Oliveiro
24 May 25 +* Re: Simple way for web to execute root shell script.6The Natural Philosopher
24 May 25 i+* Re: Simple way for web to execute root shell script.4Richard Kettlewell
24 May 25 ii+- Re: Simple way for web to execute root shell script.1The Natural Philosopher
24 May 25 ii`* Re: Simple way for web to execute root shell script.2Eli the Bearded
24 May 25 ii `- Re: Simple way for web to execute root shell script.1Richard Kettlewell
24 May 25 i`- Re: Simple way for web to execute root shell script.1Rich
24 May 25 +* Re: Simple way for web to execute root shell script.2Andrew Smallshaw
24 May 25 i`- Re: Simple way for web to execute root shell script.1Fritz Wuehler
26 May 25 +* Re: Simple way for web to execute root shell script.4Dominik Ałaszewski
26 May 25 i+* Re: Simple way for web to execute root shell script.2The Natural Philosopher
26 May 25 ii`- Re: Simple way for web to execute root shell script.1Lawrence D'Oliveiro
27 May 25 i`- Re: Simple way for web to execute root shell script.1c186282
4 Jun 25 `* Re: Simple way for web to execute root shell script.2Chris Narkiewicz
4 Jun 25  `- Re: Simple way for web to execute root shell script.1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal