On Friday 29 March 2002 01:44, Darren Gamble wrote: > Good day, > > A bit off topic, but you can run a Perl script setuid. You have to pass a > flag to Perl to let it know that it's OK, though (it's -U, I believe) which > would appear in your first "she-bang" line. > > I've never had to run a PHP script setuid. I would imagine that one would > have to write it CGI-like instead of via the server module.
Some systems disable setuid Perl scripts (RH for example). The only way to enable it is to recompile Perl. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Whenever I hear anyone arguing for slavery, I feel a strong impulse to see it tried on him personally. -- Abraham Lincoln */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php