From owner-freebsd-questions Thu Jan 3 9:21:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tharmas.rintrah.org (dhcp065-031-016-002.insight.rr.com [65.31.16.2]) by hub.freebsd.org (Postfix) with SMTP id D298237B416 for ; Thu, 3 Jan 2002 09:21:35 -0800 (PST) Received: (qmail 16949 invoked by uid 1000); 3 Jan 2002 17:22:43 -0000 Date: Thu, 3 Jan 2002 12:22:43 -0500 From: devin-freebsdquestions@rintrah.org To: Dave Raven Cc: freebsd-questions@freebsd.org Subject: Re: Setuid. Message-ID: <20020103122243.A14995@tharmas.rintrah.org> Mail-Followup-To: Dave Raven , freebsd-questions@freebsd.org References: <002f01c19479$3d688c20$3800a8c0@DAVE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002f01c19479$3d688c20$3800a8c0@DAVE>; from dave@kill-9.za.net on Thu, Jan 03, 2002 at 07:08:16PM +0200 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 On Thu, Jan 03, 2002 at 07:08:16PM +0200, Dave Raven wrote: > Yes, but the perl program needs to run another program as root. > No variables are passed or anything. Can you run that *other* program suid, then? At least that way the suid program won't be directly exposed to the web. > What it does is get a version number for a program (from kernel) > Later I will need to add rules (bandwidth manager) and this HAS to be done > from > the web and as root. > > Is there a better way, or how do I do it this way? > --devin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message