Public bug reported:

Hi, 
after installing ubuntu, the /etc/environment file contains a hardcoded setting 
of the LANG variable to UTF-8 flavours, e.g.

    LANG="de_DE.UTF-8"

This overrides any prior setting, e.g. when remote logging in from
outside through ssh. (ssh can pass through these environment variables
from the remote host).

However, if the user logs in from a different system (e.g. debian),
where the current terminal setting is not UTF-8, but e.g. ISO-8859-1, or
UTF-8 is not fully supported, the terminal connection won't work
properly, since the variables are overridden. You can't change them
effectively within a current session.

Maybe the PAM mechanism's environment settings might help, they provide
a way to set variables only if not been set before.

regards
Hadmut

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
ssh language environment overridden
https://launchpad.net/bugs/68130

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

Reply via email to