From owner-freebsd-questions Thu Nov 7 22:47:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D75237B401 for ; Thu, 7 Nov 2002 22:47:10 -0800 (PST) Received: from web20009.mail.yahoo.com (web20009.mail.yahoo.com [216.136.225.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 520BD43E7B for ; Thu, 7 Nov 2002 22:47:10 -0800 (PST) (envelope-from vctw@yahoo.com) Message-ID: <20021108064710.20902.qmail@web20009.mail.yahoo.com> Received: from [168.95.19.3] by web20009.mail.yahoo.com via HTTP; Thu, 07 Nov 2002 22:47:10 PST Date: Thu, 7 Nov 2002 22:47:10 -0800 (PST) From: Vincent Chen Subject: a strange perl problem? To: FreeBSD maillist MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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