To add :/usr/local/go/bin to the PATH with Ubuntu 10.04 LTS (Lucid) and permanently change the PATH, I just edited the files /etc/environment and /etc/login.defs.
And these modifications were OK both for my current user account and my root account.
i.e. echo $PATH returned the modified PATH for my user account as well as for the root account when using sudo -i or su.
However, this doesn't work anymore with Ubuntu 12.04 LTS when doing the same modifications if using sudo -i!
Meanwhile, this works when using su!
What should I explicitly modify to get permanently that same behavior with Precise Pangolin when using sudo -i?
