Skip to contentSkip to conversation

suExec help

DISCUSSION funky 3 participants 3 messages Oct 31, 2002

lore
Share & tools
lore

funky

author
#0 lore raw

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. I would prefer examples. All replies would be appreciated.

Thanks in advance,

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

#1 lore raw

DON'T!! doing that is probably the most hacker friendly thing you can do short of a written, gold-embossed invitation.

just don't, please

Quoted 20 lines · funky

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. I would prefer examples. All replies would be appreciated.

Thanks in advance,

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Mat Harris			OpenGPG Public Key ID: C37D57D9
[email protected]	matthewh.genestate.com	
#2 lore raw
In reply to funky
Quoted 5 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. I would prefer examples. All replies would be appreciated.

Unless this has been changed recently, suEXEC specifically refuses to run as root.

Signature · 1 line
Glynn Clements <[email protected]>