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

Re: PATH changing in RH7.1



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

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

"Why should we subsidize intellectual curiosity?"
- --Ronald Reagan

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBO5E7579BpdPKTBGtEQIVuwCgix/3Hg24Z9oHHMsoU48+V/CRx+gAnj9v
EP71wmTAf3ACvG9i7bWVi6vY
=Uppn
-----END PGP SIGNATURE-----






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