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

wiedermal kdm und locale Problem



Hallo,
mein kdm (sid 4:3.4.2-4) liest /etc/environment nicht. Und das obwohl 
dort:
seat:/home/msc# grep readenv /etc/pam.d/*
/etc/pam.d/kdm:auth       required     pam_env.so readenv=1
/etc/pam.d/kdm-np:auth       required     pam_env.so readenv=1
/etc/pam.d/login:auth       required   pam_env.so readenv=1
/etc/pam.d/login.dpkg-dist:# parsing /etc/environment needs "readenv=1"
/etc/pam.d/login.dpkg-dist:session       required   pam_env.so readenv=1
/etc/pam.d/su:# parsing /etc/environment needs "readenv=1"
/etc/pam.d/su:session       required   pam_env.so readenv=1

Beim Login via console wird LANG ordentlich gesetzt. Bei kdm hab ich 
dann:
msc@seat:~$ locale
LANG=
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=

su funktioniert übrigens auch, denn nach "su" hat root auch 
LANG=de_DE@euro usw.

Könnte das etwas mit meiner LDAP Nutzerdatenbank zu tun haben? Obwohl 
meine PAM Modifikationen dazu eigentlich normal aussehen:
seat:/home/msc# cat /etc/pam.d/common-* | grep  -v '^#\|^$'
account sufficient      pam_ldap.so
account required        pam_unix.so
auth    sufficient      pam_ldap.so
auth    required        pam_unix.so  use_first_pass nullok_secure
password   sufficient pam_ldap.so
password   required   pam_unix.so try_first_pass use_authtok nullok 
obscure min=4 max=8 md5
session optional        pam_ldap.so
session required        pam_unix.so
session required        pam_mkhomedir.so skel=/etc/skel/ umask=0022

Hat vielleicht noch jemand eine Idee?

Markus
-- 
Grid Computing erfreut sich gerade bei Windows-Nutzern sehr regem
Zuspruch, auch wenn die Rechnerbesitzer meist nichts von ihrem Glück
wissen.



Reply to: