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
Another workaround is to become root with `sudo su` rather than `sudo
-i` or `sudo -u`.
--
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
The problem still exists on Intrepid amd64. I can't believe this isn't
fixed yet :(
--
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
sudo 1.7.0 has been released on 2008-12-19 and is in Debian unstable already.
Therefore, this is expected to be fixed for Karmic.
** Changed in: sudo (Ubuntu)
Status: Confirmed = Triaged
** Changed in: sudo
Importance: Undecided = Unknown
Bugwatch: None = Sudo Bugzilla #83
Known upstream and fixed for future 1.7
** Changed in: sudo (Ubuntu)
Status: Needs Info = Confirmed
** Also affects: sudo (upstream)
Importance: Untriaged
Status: Unconfirmed
** Changed in: sudo (upstream)
Status: Unconfirmed = In Progress
--
sudo does not use