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

Re: How to set system-wide PATH



On Mon, Oct 22, 2001 at 04:55:27PM -0400, Joe Hu wrote:
| Does anybody know how to set default sytem-wide PATH? After installing
| Apache, I'd like to add /usr/local/apache/bin to the system path. I don't
| want to do it in the .bash_profile, because that only works after a shell
| session is started.

/etc/bash.bashrc is the place to set system-wide bash configurations.
This only has effect if the user sources it (which the default .bashrc
and/or .bash_profile do).  /etc/environment is another place to set
stuff like that.

HTH,
-D



Reply to: