[Bug 145380] Re: pam_env should document per-user environment file ~/.pam_environment more clearly

Hendrik 145380 at bugs.launchpad.net
Wed Jul 13 19:29:47 UTC 2011


In Ubuntu 11.04, .pam_environment does not use the usual "KEY=VAL"
format, but the pam config file format! This is unintuitive, not
documented, and not useful (I was under the impression that
.pam_environment was supposed to be _the_ place to set user-specific
environment variables now). Even worse, if you try to add something to
PATH in .pam_environment, this will reset PATH and prevent you from
logging in via GDM (it will always throw you back to the login screen
without giving any information)!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/145380

Title:
  pam_env should document per-user environment file ~/.pam_environment
  more clearly

Status in “pam” package in Ubuntu:
  Triaged

Bug description:
  pam_env reads /etc/environment. An alternate file which is parsed
  after /etc/environment should be possible: ~/.environment. This would
  follow the exact same rules as /etc/environment. Functionally it would
  be as if it was concatinated to /etc/environment.

  This would require pam_env to be in the PAM stack at a point suitable
  for ~ to be available. Which seems doable to me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/145380/+subscriptions




More information about the foundations-bugs mailing list