Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 20:56:18 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        steve@news.cioe.com (Steve Ames)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: setuid under perl5?
Message-ID:  <199611261956.UAA13906@uriah.heep.sax.de>
In-Reply-To: <199611261611.LAA13111@news.cioe.com> from Steve Ames at "Nov 26, 96 11:11:52 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Steve Ames wrote:

> I have a couple of scripts written in perl5 that need to edit some files
> that are owned by root. I had intended to just setuid the script and go
> with it, but no go.
> 
> I'm using Freebsd 2.1.5 and perl5 compiled straight out of
> /usr/ports/lang/perl5 (ports-current).

The port is known to be broken, and the maintainer already promised to
fix it.  Removing support for Posix saved IDs from your config file
should work.  (That's what the /usr/bin/suidperl does.)  The security
`fix' for the latest suidperl security problems simply is a no-go for
4.4BSDs.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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