Not working right, yet.

My .bash_profile contains:

PATH="/usr/bin:$PATH:$HOME/bin"

My Xrootenv.0 contains:

PATH=/usr/bin:/usr/kerberos/bin:/usr/kerberos/bin:/usr/kerberos/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/home/john/bin:/usr/X11R6/bin:/home/john/bin

However my echo $PATH shows:
/usr/kerberos/bin:/usr/bin:/usr/bin:/usr/kerberos/bin:/usr/bin:/usr/bin:/usr/bin:/usr/kerberos/bin:/usr/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/home/john/bin:/usr/X11R6/bin:/home/john/bin

Note that what I want is for /usr/bin to appear first on the path.  In
particular, I want /usr/kerberos to NOT be first.

Any thoughts on this?  Thanks.

John

On 05/07/00, 10:13:33AM -0400, Gene Wilburn wrote:
> John,
> 
> If you want to change path info for everyone on the system, edit
> /etc/profile (you need to be root to edit this file).
> 
> If you see a line such as
> 
> PATH="$PATH:/usr/X11R6/bin"
> 
> You can add things to this with a colon separating new entries:
> 
> PATH="$PATH:/usr/X11R6/bin:/opt/wp/wpbin"
> 
> If instead you prefer local modifications for certain users, log in as the
> user and do the same to
> 
> /home/<user>/.bash_profile
> 
> The changes in PATH take effect the next time you log in so you may want
> to exit the re-log on.
> 
> Hope that helps,
> 
> Gene
> 
> On Sun, 7 May 2000, John P. Verel wrote:
> 
> > I'm running Red Hat 6.2  I want to edit my path environment and am
> > unclear where to go to do it, unable to find appropriate documentation
> > on this.  Can someone please advise?  Thank you.
> > 
> > John
> > 
> > 
> > 
> 
> -- 
> -----------------------------------
> Gene Wilburn -}{- [EMAIL PROTECTED]
>   http://www.NorthernJourney.com
> -----------------------------------


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to