[Bug 952185] Re: ~/.pam_environment not parsed by default
Launchpad Bug Tracker
952185 at bugs.launchpad.net
Tue Mar 26 12:00:21 UTC 2013
This bug was fixed in the package openssh - 1:6.1p1-4
---------------
openssh (1:6.1p1-4) experimental; urgency=low
[ Gunnar Hjalmarsson ]
* debian/openssh-server.sshd.pam: Explicitly state that ~/.pam_environment
should be read, and move the pam_env calls from "auth" to "session" so
that it's also read when $HOME is encrypted (LP: #952185).
[ Stéphane Graber ]
* Add ssh-agent upstart user job. This implements something similar to
the 90x11-common_ssh-agent Xsession script. That is, start ssh-agent
and set the appropriate environment variables (closes: #703906).
-- Colin Watson <cjwatson at debian.org> Mon, 25 Mar 2013 16:58:04 +0000
** Changed in: openssh (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/952185
Title:
~/.pam_environment not parsed by default
Status in Light Display Manager:
Invalid
Status in “at” package in Ubuntu:
In Progress
Status in “gdm” package in Ubuntu:
Fix Released
Status in “lightdm” package in Ubuntu:
Fix Released
Status in “openssh” package in Ubuntu:
Fix Released
Status in “pam” package in Ubuntu:
Invalid
Status in “sudo” package in Ubuntu:
Invalid
Status in “at” source package in Precise:
Won't Fix
Status in “gdm” source package in Precise:
In Progress
Status in “lightdm” source package in Precise:
Fix Committed
Status in “openssh” source package in Precise:
Triaged
Status in “pam” source package in Precise:
Invalid
Status in “sudo” source package in Precise:
Invalid
Bug description:
lightdm precise and gdm precise SRU proposals
---------------------------------------------
[Impact]
As was originally stated in the bug summary, ~/.pam_environment is not read at login if $HOME is encrypted. The lightdm (Precise) and gdm (Precise) SRUs fix that issue.
[Test Case]
Steps to reproduce:
* As a user with an ecryptfs protected $HOME, use language-selector to make the user language and/or user regional formats differ from the system wide settings (i.e. ~/.pam_environment != /etc/default/locale).
* Log out and log in again. Run the locale command from a terminal window, and you'll find that the output is a result of /etc/default/locale, i.e. ~/.pam_environment was ignored.
[Regression Potential]
Low.
Previous description
--------------------
PAM needs to be told explicitly by respective service to parse ~/.pam_environment, since the fix of http://bugs.debian.org/611136 is about to make it into Raring. Please see comment #29 and #30.
Otherwise the session environment will contain the system wide locale
settings, while the user's locale settings are ignored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/952185/+subscriptions
More information about the foundations-bugs
mailing list