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

Re: PATH changing in RH7.1



Won't those files get sourced anyway? -I mean, it seems like there's no
way around the possiblilty that an individual user might be "clobbering"
the path for that user. Just make sure that you're not clobbering your
own.

On 1 Sep 2001, Trond Eivind Glomsrød wrote:

> "John P. Verel" <jverel home com> writes:
>
> > 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?)
>
> Sure. But when you log in,  the shell will source various other files.
> The best thing to do is to create an /etc/profile.d/jdk.sh file adding
> the environment you want.
>
> > I run ximian Gnome, Red Hat 7.1.  It is possible that path gets
> > clobbered by gnome?
>
> Ximian Gnome will have other bad consequences (not-quite-working
> upgrades being one of them), but not that.
>
>
>

-- 
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]