Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am teaching a security class and I would like to show them how it is very stupid to run apache as root (that means I don't need to be preached to about how stupid it is; I agree with you) I'm having problems with setting the CFLAG when compiling to have apache stop holding my hand. Could you give me a step by step. Thanks.

share|improve this question
    
Does User root in the config not do the trick? Or omitting the User directive entirely. –  jordanm Jan 3 '13 at 6:39
    
@jordanm no apache needs to be recompiled to allow for root any other user would be allowed –  David Jan 3 '13 at 15:15
1  
@David Are you installing from a source distribution or from the Ubuntu source? –  Karlson Jan 3 '13 at 15:28
    
@Karlson I was testing with the ubuntu source but I couldn't get that compiled and installed –  David Jan 3 '13 at 21:18
add comment

migrated from serverfault.com Jan 3 '13 at 4:01

This question came from our site for professional system and network administrators.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.