[olug] Running commands from web pages.

Wes Ferrel wferrel at ferrel.org
Tue Feb 8 21:12:06 UTC 2005


Yep, as you suspected, turning off SELinux got it to work. 

Not my favorite choice, but at least I know what's causing it so I can 
see if I can't figure out how to enable the functionality I desire 
without removing the security features of having SELinux enabled. 

Also, I may consider the perl traceroute option that Terry mentioned.

Thanks for your collective help.

     If anyone can shed a little more light on an easy way to modify the 
SELinux config to allow execution of these progies by the apache user, 
I'd be happy to listen. :)

       Thanks again
          Wes

Phil Brutsche wrote:

>Wes Ferrel wrote:
>  
>
>>Oh, I do have selinux enabled on this system, which may be a 
>>contributing factor, for I admit not being very familiar with this.
>>    
>>
>
>Yeah, I figured.
>
>On my Debian systems traceroute is SUID root.
>
>SELinux is probably setup to prevent whatever user Apache runs as from
>doing certain priviledged operations.
>
>I bet it'll work if you turn of SELinux ;)
>
>  
>




More information about the OLUG mailing list