[Pkg-shadow-devel] Bug#330803: ENV_PATH and ENV_SUPATH in /etc/login.defs are ignored

Jakub Turski yacoob at hell.pl
Thu Sep 29 19:53:01 UTC 2005


Package: login
Version: 1:4.0.12-5
Severity: important


After upgrading to login 1:4.0.12-5 I was not able to start Xorg, not
able to run aptitude. Why? Because login started to ignore paths
included in /etc/login.defs.

I did a quick overview, purged PATH setting from any /etc/* file
(including /etc/security/pam_env.conf, /etc/profile, /etc/zsh/*), put
bogus ENV_PATH in /etc/login.defs, and created a new user, without any
dotfiles - with 4.0.12-5 I've been receiving empty PATH variable from
login, which was substitued later on by some shell defaults. With
4.0.3-35, it works fine.

I'm not using any (x|w|g)dm, just a simple getty on text console.

I do believe, this is a bug.

Best regards,

KT.
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.1
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)




More information about the Pkg-shadow-devel mailing list