[Virtual-pkg-base-maintainers] Bug#732109: base: /etc/pam.d/sshd overides setting up LANG from a ssh sessions.

Denis Gillain reportbug.debian at ellipsys.fr
Sat Dec 14 08:05:02 UTC 2013


Package: base
Severity: normal
Tags: l10n



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

We use wheezy, jessie and ubuntu too, and some are UTF8, others
ISO8859-1.

It may not be a good idea that the server sets the locale
from /etc/pam.d/sshd. The terminal we use, (PuTTY par example)
is already set with it's own locale, and the locale to use for
a session should be that one from the terminal, not the one 
set by sshd. Do you agree? In case you do, can you comment line
44 in /etc/pam.d/sshd.

The others config files (login, lightdm...) are ok since access
is done localy. But when the access is remote from the servern the
locale to use is set by the terminal, and line 44 overides the
work done at the terminal :)

Thanks a lot !

Denis Gillain



More information about the Virtual-pkg-base-maintainers mailing list