touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #44218
[Bug 25700] Re: sudo does not read /etc/environment on interactive logins (directly, not through pam_env)
** Branch linked: lp:ubuntu/vivid-proposed/sudo
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/25700
Title:
sudo does not read /etc/environment on interactive logins (directly,
not through pam_env)
Status in sudo:
Unknown
Status in sudo package in Ubuntu:
Fix Released
Bug description:
sudo (and su) do not work with pam_env.
Adding a line like:
auth required pam_env.so
to /etc/pam.d/sudo should put the environment variables from /etc/environment into the environment of an
interactive session created by "sudo -i" or "su -".
This is especially bad because /etc/environment is the place where Ubuntu defines the charset (with LANG) and
not setting LANG to xx_XX.UTF8 causes the shell (bash) to misbehave on umlauts for example: I cannot type
them on the command line and they're displayed wrong with "ls" and other tools.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/25700/+subscriptions