From owner-freebsd-ports@FreeBSD.ORG Mon May 24 02:13:47 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87241106567E for ; Mon, 24 May 2010 02:13:47 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2D78FC25 for ; Mon, 24 May 2010 02:13:46 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([124.188.161.100]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20100524021345.HPPP12310.nschwmtas02p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Mon, 24 May 2010 02:13:45 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100524021345.TRWQ3673.nschwotgx01p.mx.bigpond.com@duncan.reilly.home>; Mon, 24 May 2010 02:13:45 +0000 Date: Mon, 24 May 2010 12:13:44 +1000 From: Andrew Reilly To: jhell Message-ID: <20100524021344.GA8356@duncan.reilly.home> References: <20100522095237.GA62670@duncan.reilly.home> <4BF7C7CB.7070300@dataix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF7C7CB.7070300@dataix.net> User-Agent: Mutt/1.4.2.3i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx01p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Mon, 24 May 2010 02:13:45 +0000 X-SIH-MSG-ID: qhg7Etz7TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9reLP1RvN+vxDxIJhqHNGAjaajhTY3Rs9mK Cc: ports@freebsd.org Subject: Re: did sudo change the default sense of env_reset option? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 02:13:47 -0000 On Sat, May 22, 2010 at 08:02:19AM -0400, jhell wrote: > Attached is the copy of the sudoers.default take a look through it to > see how to set a environment variable for use with portupgrade or > portmaster etc... Hmm. I see that that is now the installed default, but of course (by design) the fact that it has changed in this significant way is not automatically reflected in the already-in-use sudoers file. I think that this could usefully have been flagged in UPDATING. I also prefer my fix (reverting the default sense of env_reset): I know that I'm not going to try to subvert any of my root processes by fiddling with LD_PATH or whatever paranoia has produced this change. Sudoers(5) is too complicated as it is, with too many options. Cheers, -- Andrew