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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1094978

Title:
  pam environment duplicate path directories

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to