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

Re: PATH changing in RH7.1



"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.
 

-- 
Trond Eivind Glomsrød
Red Hat, Inc.





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