[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: PATH changing in RH7.1
- From: "John P. Verel" <jverel home com>
- To: redhat-list redhat com
- Subject: Re: PATH changing in RH7.1
- Date: Sat, 1 Sep 2001 16:57:15 -0400
I went with David's suggestion. My /etc/profile now includes:
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1/bin"
echo $PATH yields:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/usr/java/jdk1.3.1/bin:/home/john/bin, and all is well.
Thanks, Trond, for the interesting idea of using an
/etc/profile.d/jdk.sh file for jdk environment settings.
This time, I'll both save AND file everyone's help on this. Thanks to
all.
On 09/01/01, 07:49:53PM +0000, David Talkington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John P. Verel wrote:
>
> >(According to the Red Hat Reference Guide, rc.local should be the last
> >thing run at boot time. Do I misunderstand this?)
>
> No, but you forgot that a user's environment is not complete until the
> shell's .*rc files have been run after he/she logs in. PATH usually
> gets set globally in /etc/profile, /etc/bashrc, /etc/cshrc.login, or
> some such, and if its value doesn't include the existing $PATH, it
> gets clobbered, as you saw.
>
> I use /etc/profile for custom environment stuff for my users.
>
> - -d
>
> - --
> David Talkington
> http://www.spotnet.org
--
John P. Verel
Connecticut? You bettor believe!
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]