[Bug 1465634] Re: $PATH is wrong

Sworddragon 1465634 at bugs.launchpad.net
Fri Mar 18 09:49:39 UTC 2016


On creating a new user I have noticed the same issue. I have then tested
if /etc/environment is being read by adding a testvariable to it. Loging
in with my account does not load this variable into the environment but
loging in with root does. The permissions for this file are 0644 for
root:root. Any idea how to debug this issue?

** Package changed: ubuntu => pam (Ubuntu)

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

Title:
  $PATH is wrong

Status in pam package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 15.10 dev and I'm noticing that I'm getting an
  unexpected $PATH on a terminal with my user:

  sworddragon at ubuntu:~$ echo $PATH
  /bin:/usr/bin:/sbin:/usr/sbin

  
  On the console all is fine and for root on the console and a terminal all is fine too. /etc/environment contains "PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"" and I couldn't figure out why only my user on a terminal gets the wrong path.

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



More information about the foundations-bugs mailing list