Sorry, I was not very explicit about the underlying cause. It appears on
the link that I gave (http://superuser.com/questions/135730/why-do-i
-get-duplicated-entries-in-my-path), namely in the post (and the answer)
gave by Nick Taylor:

"The problem seems to stem from the fact that pam_env defaults to
reading the user ~/.pam_environment every time it is invoked. A lot of
login methods (cron, lightdm, lightdm-autologin, login, sshd and su on
my machine) invoke pam_env twice: once to read the /etc/environment and
~/.pam_environment files, and once to read the /etc/default/locale file.
In neither case is the user_readenv flag set, so pam_env reads, and acts
on, your ~/.pam_environment twice."

Thank you for taking this issue into consideration. I was wondering if
the parameter "user_readenv=0" could not be put directly into the
/etc/default/locale file.

Anyway, thanks again.

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

Title:
  pam environment duplicate path directories since it is called without
  user_readenv=0

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

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

Reply via email to