>From sudo 1.7.0 WHATSNEW file:
 * Support for /etc/environment on AIX and Linux.  If sudo is run
   with the -i flag, the contents of /etc/environment are used to
   populate the new environment that is passed to the command being
   run.

there's a bug in that the contents are taken literally instead of
stripping quotes though, bug #387262.

I see some comments requested usage of pam_env in sudo; while that's not
entirely unreasonnable, I think it would make it harder to understand
why some sudo environment-handlign options don't work as expected.

** Changed in: sudo (Ubuntu)
       Status: Triaged => Fix Released

-- 
sudo does not use /etc/environment on interactive logins (through pam_env)
https://bugs.launchpad.net/bugs/25700
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to