Tags: patch,upstream The reason for which pam_env does no more read /etc/environment, is that this is now disabled by default, cf. the sources for the 'pam' source package:
$> cd pam-0.79/Linux-PAM/modules/pam_env/ $> grep DEFAULT_READ_ENVFILE * pam_env.c:#define DEFAULT_READ_ENVFILE 0 According to the documentation of pam_env, a value of 0 for readenv means that /etc/environment is not read. It is possible to force it to read /etc/environment again, by adding readenv=1 as a parameter to pam_env.so in every file in /etc/pam.d/ For instance, changing the following line in /etc/pam.d/login: auth required pam_env.so into: auth required pam_env.so readenv=1 Solves the problem described in the bug report: /etc/environment is read again. The Debian package should either patch PAM to set DEFAULT_READ_ENVFILE to 1 in pam_env.c, or modify most files in /etc/pam.d/ to add readenv=1. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

