[sudo-users] 1.8.4: env_delete problem

balducci at units.it balducci at units.it
Mon Feb 20 09:21:55 EST 2012


apologies for the possible dup: I am resending this after subscription
to the list.

After 1.8.3p2 --> 1.8.4 upgrade, sudo seems to ignore my env_delete
directives in sudoers.

I used to have this Defaults fragment:

     Defaults:balducci  editor=/usr/bin/emacs, \
                        timestamp_timeout=-1,        \
                        env_delete-="PERLLIB PERL5LIB PERL5OPT", \
                        env_delete-="PYTHONPATH", \
                        !env_reset, \

which has worked for years. After upgrade, "sudo env" (for instance)
does not show PYTHONPATH any more. If I downgrade to 1.8.3p2
everything works as usual (i.e. "sudo env" shows PYTHONPATH).

I have read the man page for 1.8.4, but nothing seems to have changed.

So: am I doing something wrong or is there a problem with 1.8.4?
Can anybody reproduce this  (mis)behavior?

If that matters, I am on GNU/linux.

Thanks a lot in advance for any hint/information


Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: balducci at units.it
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html

More information about the sudo-users mailing list