[Bug 1094978] [NEW] pam environment duplicate path directories

Ayrton Araújo root at ayrtonaraujo.net
Tue Jan 1 02:46:36 UTC 2013


Public bug reported:

Using Ubuntu 12.10, if I set up my ~/.pam_environment like this:
PATH DEFAULT=${PATH}:~/opt/bin
My PATH will have ~/opt/bin seted twice.

For fix this, I need to do the following change in line 50 of file /etc/pam.d/login:
session       required   pam_env.so readenv=1 user_readenv=0
While user_readenv=0 avoid to set env using my local changes and call my personal env in the second time session is called.

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
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/1094978

Title:
  pam environment duplicate path directories

Status in “pam” package in Ubuntu:
  Confirmed

Bug description:
  Using Ubuntu 12.10, if I set up my ~/.pam_environment like this:
  PATH DEFAULT=${PATH}:~/opt/bin
  My PATH will have ~/opt/bin seted twice.

  For fix this, I need to do the following change in line 50 of file /etc/pam.d/login:
  session       required   pam_env.so readenv=1 user_readenv=0
  While user_readenv=0 avoid to set env using my local changes and call my personal env in the second time session is called.

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




More information about the foundations-bugs mailing list