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
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
I have done a similar thing by executing another script via sudo using the
PHP command passthru() (or you could use exec(), system(), whatever's
appropriate). See
http://www.courtesan.com/sudo/
for more info. The whole setup was (and is) a bit of a kluge, but the
script didn't need
3 matches
Mail list logo