Re: a strange perl problem?

2002-11-08 Thread Matthew Seaman
On Thu, Nov 07, 2002 at 10:47:10PM -0800, Vincent Chen wrote: > Hi, all > > I wrote a perl script to destroy gif interface. It has > a line looks like this: > > system("ifconfig","gif0","destroy"); > > yes, this script is running suidperl and has suid bit > set. > > The problem is this script w

a strange perl problem?

2002-11-07 Thread Vincent Chen
Hi, all I wrote a perl script to destroy gif interface. It has a line looks like this: system("ifconfig","gif0","destroy"); yes, this script is running suidperl and has suid bit set. The problem is this script work fine if called under shell prompt but not working if called by a suidperl CGI.