Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 22:47:10 -0800 (PST)
From:      Vincent Chen <vctw@yahoo.com>
To:        FreeBSD maillist <freebsd-questions@FreeBSD.ORG>
Subject:   a strange perl problem?
Message-ID:  <20021108064710.20902.qmail@web20009.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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.

Any idea?



__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108064710.20902.qmail>