check /etc/profile and /etc/profile.d/ and /etc/bashrc -- linux
distributions have a habit of using "extra" profile options.
On 12 Jan 2001 10:38:08 -0700, Praedor Tempus wrote:
> OK, I once thought I understood this but now I guess I do not.
> If I run "env", my path appears thus:
>
> PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:
> /opt/IBMJava2-13/jre/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:
> /home/praedor/bin:/usr/local/mozilla:/usr/X11R6/bin:/opt/IBMJava2-13/
> jre/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:
> /opt/IBMJava2-13/jre/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
>
> As you can see there are redundant entries for just about everything.
> If I look at /etc/profile, there is nothing there to cause this, as its
> entries are in no way duplicates of my personal .bash_profile path.
> Where is this all coming from? I want everything in the path to appear ONCE
> and I want everything in it EXCEPT my home directory to appear globally.
>
> If not profile and .bash_profile, then what file am I looking for that
> creates the global path environment?
>
> --
> Praedor
> ----
> Against stupidity, the gods themselves contend in vain
>
--
Adam Clater
Global Operations
+1 703 471 2405