da man suexec2:
SUMMARY
suexec is used by the Apache HTTP Server to switch to another user
before executing CGI programs.codice:[shi@pygo ~/public_html/cgi-bin] $ cat boh.cgi #!/bin/bash echo 'Content-type:text/plain' echo '' iddevo dedurre che apache non switcha utente nell'eseguire i cgicodice:[shi@pygo ~/public_html/cgi-bin] $ wget http://127.0.0.1/~shi/cgi-bin/boh.cgi -O test [shi@pygo ~/public_html/cgi-bin] $ cat test uid=81(apache) gid=81(apache) groups=81(apache)
non ho trovato un'opzione per dirgli esplicitamente di fare lo switch, qualcuno ne sa qualcosa?
![]()

Rispondi quotando