[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sarge UTF-8 problem with ssh with USEPAM=no



hi list,

i've a sarge default install.

cat /etc/environment shows
------------- snip ---------------
LANGUAGE="en_US:en_GB:en"
LANG=en_US.UTF-8
-------------- snip --------------

sshd_config has USEPAM=no

after ssh login
locale
-------------- snip---------------
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
-------------- snip ---------------

with USEPAM=yes it's ok
-------------- snip --------------
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
-------------- snip --------------

but i won't use pam for this case.

have everyone an idea ?

my only idea is to set it manually in
the /etc/profile

if done some debugging with strace and
i've fount that the /etc/environment will
not be read.

the next problem: if i use USEPAM=yes
its ok with the login user, but if i
switch the user with "su -" then
i have the "POSIX" again.

Thanks for help.

Thomas





Reply to: