Bug#392856: openssh-server: Default locale ignored on ssh logins
Package: openssh-server
Version: 1:4.3p2-5
Severity: normal
I have the system default locale set to en_US.UTF-8, but ssh logins get
the POSIX locale. Logging in via X or the console sets the locale
properly. /etc/pam.d/ssh contains the lines
auth required pam_env.so # [1]
and
auth required pam_env.so envfile=/etc/default/locale
Inserting readenv=1 on both of those lines, like /etc/pam.d/login has,
has no effect.
/etc/default/locale contains:
# File generated by update-locale
LANG=en_US.UTF-8
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages openssh-server depends on:
ii adduser 3.97 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.6 Debian configuration management sy
ii dpkg 1.13.22 package maintenance system for Deb
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libcomerr2 1.39-1.1 common error description library
ii libkrb53 1.4.4-3 MIT Kerberos runtime libraries
ii libpam-modules 0.79-3.2 Pluggable Authentication Modules f
ii libpam-runtime 0.79-3.2 Runtime support for the PAM librar
ii libpam0g 0.79-3.2 Pluggable Authentication Modules l
ii libselinux1 1.30.28-2 SELinux shared libraries
ii libssl0.9.8 0.9.8c-3 SSL shared libraries
ii libwrap0 7.6.dbs-11 Wietse Venema's TCP wrappers libra
ii openssh-client 1:4.3p2-5 Secure shell client, an rlogin/rsh
ii zlib1g 1:1.2.3-13 compression library - runtime
openssh-server recommends no packages.
-- no debconf information
Reply to: