how to use SuExec
hi linuxers,
I want to run some scripts using
apache/php which would require root permissions. So how do i use SuExec mechanism of apache in php to
gain root permissions. All replies would be appreciated.
Thanks in advance,
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
Quoted 4 lines · funky
I want to run some scripts using
apache/php which would require root permissions. So how do i use SuExec mechanism of apache in php to
gain root permissions.
You don't; the SuExec utility deliberately refuses to run as root.
Signature · 1 line
Glynn Clements <[email protected]>
on "11-14-2002" "funky" writ:
: I want to run some scripts using
: apache/php which would require root permissions.
... change the requirements.
given the documented security problems with php, running anything as
root is begging for trouble. i would hazard the guess , that if it "has" to run as root, you probably don't need to do it.
i'd suggest running your scripts with the uid of the httpd user ...
Signature · 2 lines
... i'm a man, but i can change,
if i have to , i guess ...