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 DESTDIR=/home/dst RELEASEDIR=/home/rel make release

The default sudoers file will have a commented out entry for the
wheel group like #3.

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?

Cheers!

--
Antoine

Reply via email to