[olug] Running commands from web pages.

Terry td3201 at gmail.com
Tue Feb 8 18:20:31 UTC 2005


Something easy but gotta start somewhere...
What user is your webserver running as?  Does that user have a valid shell?


On Tue, 08 Feb 2005 12:12:43 -0600, Wes Ferrel <wferrel at ferrel.org> wrote:
> Ok, so I think I'm missing something obvious.
> 
> I have a web page which by way of a simple cgi (shell) script, prompts
> for a host and runs either mtr or traceroute from the web host to the
> entered address.
> 
> This was working on a previous RH 9 system (don't recall other
> details).  However, running on FC3, with apache 2.0.52 I'm getting errors:
> 
> traceroute: icmp socket: Permission denied
> 
> mtr: unable to get raw sockets.
> 
> Anyone with thoughts / suggestions?
> 
> I have a feeling the answer will be a slap-to-the-head, "DOH" kind of
> moment.
> 
>     Thanks
>        Wes
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>



More information about the OLUG mailing list