From owner-freebsd-questions@FreeBSD.ORG Tue Aug 7 09:31:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3245816A419 for ; Tue, 7 Aug 2007 09:31:39 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from vps1.solepartners.com (vps1.solepartners.com [85.233.167.66]) by mx1.freebsd.org (Postfix) with ESMTP id 836E913C45E for ; Tue, 7 Aug 2007 09:31:38 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: (qmail 5800 invoked from network); 7 Aug 2007 09:31:38 -0000 Received: from 150.117-84-212.staticip.namesco.net (HELO prawn.unsane.co.uk) (212.84.117.150) by vps1.solepartners.com with SMTP; 7 Aug 2007 09:31:38 -0000 Message-ID: <46B83BF9.6040906@unsane.co.uk> Date: Tue, 07 Aug 2007 10:31:37 +0100 From: Vince User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Olivier Nicole References: <200708070852.l778qAwt062574@banyan.cs.ait.ac.th> <46B83486.3040203@unsane.co.uk> <200708070904.l7794BEO064504@banyan.cs.ait.ac.th> In-Reply-To: <200708070904.l7794BEO064504@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sudo clears the environment variable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 09:31:39 -0000 Olivier Nicole wrote: >> env_reset now seems to be on by default. you could turn it off if you >> need to or fiddle with the env_keep and env_check lists. > > That's what I mean, how to turn it off. > Sorry, a line like Defaults !env_reset in sudoers ought to do it or you can do it on a per user basis. see /usr/local/share/doc/sudo/UPGRADE Vince > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"