From owner-freebsd-questions Thu Jan 3 8:54: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by hub.freebsd.org (Postfix) with ESMTP id D9D4D37B419 for ; Thu, 3 Jan 2002 08:53:49 -0800 (PST) Received: from DAVE ([192.168.0.56]) by chaos.evolve.za.net (8.11.6/1.1.3) with SMTP id g03GrhI35146 for ; Thu, 3 Jan 2002 18:53:43 +0200 (SAST) (envelope-from dave@kill-9.za.net) Message-ID: <001b01c19476$c82f9d60$3800a8c0@DAVE> From: "Dave Raven" To: Subject: Setuid. Date: Thu, 3 Jan 2002 18:50:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Hello, I need to run a perl program as root from the web (web user = nobody) These are the permissions I have given the file: -rwsr-xr-x 1 nobody nobody 1447 Jan 3 15:42 bwutil.pl As a non root user: su-2.05$ /usr/optec/bwutil.pl Can't do setuid I'm sure there must be a better way to do this, but if not how should I proceed? Thanks, Dave. OpteqSec. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message