On Thu, Jul 26, 2007 at 09:44:12PM +0200, Antoine Jacoutot wrote:
> On Thu, 26 Jul 2007, Todd C. Miller wrote:
> >3) Use the SETENV tag on commands or the setenv Defaults options.
> > E.g.
> > %wheel ALL = (ALL) SETENV: ALL
> >
> > then use "sudo -E" when you need to preserve the environment
In message <[EMAIL PROTECTED]>
so spake Antoine Jacoutot (ajacoutot):
> I just want to make sure I understood what I read here.
> Does this mean we now need to set (e.g. when on the wheel group):
> SUDO=/usr/bin/sudo -E
> in mk.conf to work with ports now?
That is probably the simplest so
On Thu, 26 Jul 2007, Todd C. Miller wrote:
3) Use the SETENV tag on commands or the setenv Defaults options.
E.g.
%wheel ALL = (ALL) SETENV: ALL
then use "sudo -E" when you need to preserve the environment or
specify the variables on the command line using sudo:
$ sudo DEST
I have just committed sudo 1.6.9p1 to the OpenBSD tree. If you use
sudo for ports builds this will affect you.
The biggest change in 1.6.9p1 that will affect folks is the environment
handling. Previously, sudo would pass the existing environment
through to the command to be run after pruning out