ssh language environment overridden

Bug #68130 reported by Hadmut Danisch
4
Affects Status Importance Assigned to Milestone
pam (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Revision history for this message
Adam Niedling (krychek) wrote :

What version of Ubuntu are you using? Is this still an issue?

Changed in pam:
status: New → Incomplete
Revision history for this message
Hadmut Danisch (hadmut) wrote :

Seems to be solved under intrepid...

Adam Niedling (krychek)
Changed in pam:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.