Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 09:32:31 -0800
From:      Milo Hyson <milo@cyberlifelabs.com>
To:        "Dave Raven" <dave@raven.za.net>, <devin-freebsdquestions@rintrah.org>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Setuid.
Message-ID:  <200201030929.28488@cyberlifelabs.com>
In-Reply-To: <004d01c1947b$68185d40$3800a8c0@DAVE>
References:  <EB513E68D3F5D41191CA000255588101B436D0@mailserv.xpert.com> <20020103122243.A14995@tharmas.rintrah.org> <004d01c1947b$68185d40$3800a8c0@DAVE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 03 January 2002 09:23 am, Dave Raven wrote:
> Why am I getting?:
> su-2.05$ /usr/optec/bwutil.pl
> Can't do setuid

By default, FreeBSD doesn't allow scripts (Perl included) to run as SUID. 
It's a potential security problem. There is a way to disable this, but I'm 
not sure what the procedure is. I think it's an option in the kernel.

Actually, I would like to know a decent solution to this issue. I often need 
SUID Perl scripts myself, and I don't want to have to disable security 
features or resort to a C wrapper.

-- 
Milo Hyson
CyberLife Labs, LLC

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?200201030929.28488>