Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 12:22:43 -0500
From:      devin-freebsdquestions@rintrah.org
To:        Dave Raven <dave@kill-9.za.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setuid.
Message-ID:  <20020103122243.A14995@tharmas.rintrah.org>
In-Reply-To: <002f01c19479$3d688c20$3800a8c0@DAVE>; from dave@kill-9.za.net on Thu, Jan 03, 2002 at 07:08:16PM %2B0200
References:  <EB513E68D3F5D41191CA000255588101B436D0@mailserv.xpert.com> <002f01c19479$3d688c20$3800a8c0@DAVE>

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




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