[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PATH changing in RH7.1



> I usually do my path surgery in ~/.bash_profile.

...but, then, they're not global. David's approach is the right one.
>
> On Sat, 1 Sep 2001, John P. Verel wrote:
>
> > Sigh.  I cannot believe I've forgotten how to do this :(
> >
> > I need to append /usr/java/jdk-1.3.1/bin to my path.  I want it to be a
> > global setting.
> >
> > My /etc/rc.d/re.local looks, in part, like this:
> >
> > PATH=/usr/java/jdk1.3.1/bin:$PATH
> > export PATH
> >
> > (According to the Red Hat Reference Guide, rc.local should be the last
> > thing run at boot time.  Do I misunderstand this?)
> >
> > Yet, echo $PATH shows:
> >
> > /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/bin:/usr/X11R6/bin:/home/john/bin
> >
> > I've tried this in /etc/rc.d/rc.sysinit, with the same results.
> >
> > I run ximian Gnome, Red Hat 7.1.  It is possible that path gets
> > clobbered by gnome?
> >
> > TIA
> >
> >
>
>

-- 
Jason W. Elliot
Dept. of Mathematics, University of CO at Denver
http://www-math.cudenver.edu/~jelliot
jelliot math cudenver edu





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]