Re: [ilugd] Executing a cgi as root on apache.

2005-12-10 Thread Raj Shekhar
in infinite wisdom santosh dubey spoke thus On 12/07/2005 09:13 PM: Dear all, I want to run a script as root. (setuid bit is set for root). But apache is not executing this script. I used #!/usr/bin/perl -wT as suggested by Mithun. But no result. What does apache error log file

Re: [ilugd] Executing a cgi as root on apache.

2005-12-08 Thread Pankaj kaushal
santosh dubey wrote: I want to run a script as root. (setuid bit is set for root). Dont do that. How can you be sure I cant get into your network as a normal user and then exploit your setuid'd script(spare me the details of it) webserver to gain control of the whole network? P. -- Wir

[ilugd] Executing a cgi as root on apache.

2005-12-07 Thread santosh dubey
Dear all, I want to run a script as root. (setuid bit is set for root). But apache is not executing this script. I used #!/usr/bin/perl -wT as suggested by Mithun. But no result. I don't have suidperl installed and i cannot rebuild server to run as root. Is it possible to run such

Re: [ilugd] Executing a cgi as root on apache.

2005-12-07 Thread Mithun Bhattacharya
--- santosh dubey [EMAIL PROTECTED] wrote: Dear all, I want to run a script as root. (setuid bit is set for root). But apache is not executing this script. Running as root is never recommended - there is always better ways of doing these things. I used #!/usr/bin/perl -wT as