Package: libpam-modules
Version: 1.1.3-7.1
Severity: normal

According to man pam_env its default behaviour is for per-user
environment variable settings to be read from ~/.pam_environment in the
same way as global variables are read from /etc/environment. However,
this isn't happening for me, using gdm3 and gnome-shell. AFAICT no other
config files are using pam_env with user_readenv=0. I've got an SSD so
it didn't take too long to search every file in /etc and /usr for
'user_readenv' and I got no hits.

My .pam_environment contains:

ADT_BUNDLE=/home/tony/adt-bundle-linux
ANDROID_SDK=/home/tony/adt-bundle-linux/sdk
ANDROID_NDK=/home/tony/adt-bundle-linux/ndk

If I copy this to /etc/environment those variables are set, but not if
they're in .pam_environment alone.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-modules depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  libc6                  2.13-37
ii  libdb5.1               5.1.29-5
ii  libpam-modules-bin     1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libselinux1            2.1.9-5

libpam-modules recommends no packages.

libpam-modules suggests no packages.

-- debconf information:
  libpam-modules/disable-screensaver:


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to