Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Insecure dependency in chmod while running setuid

by tweetiepooh (Friar)
on Jun 12, 2009 at 11:08 UTC ( #770909=note: print w/ replies, xml ) Need Help??


in reply to Insecure dependency in chmod while running setuid

On a tangental note. Don't you use privilege separation on your Apache? On my Apache 2.2 although root starts Apache (needed for port 80) it spawns processes under a non root account and that account then is the owner of Perl scripts that are executed.


Comment on Re: Insecure dependency in chmod while running setuid
Re^2: Insecure dependency in chmod while running setuid
by ak4good (Initiate) on Jun 13, 2009 at 04:11 UTC
    Yes, Apache on my machine executes cgi scripts as the Apache user, hence the need for setuid to do stuff that the Apache user doesn't have permissions for.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-12-21 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls