Results 1 to 2 of 2
RHEL 5.
The default user path in bash is
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/root/bin:/home/foobar/bin
for user "foobar". I'm trying to find how /usr/kerberos/bin and /usr/local/bin get in there. The aren't in ~/.bash*, nor in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 8
How does the default PATH get set on RHEL?
RHEL 5.
The default user path in bash is
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/root/bin:/home/foobar/bin
for user "foobar". I'm trying to find how /usr/kerberos/bin and /usr/local/bin get in there. The aren't in ~/.bash*, nor in /etc/bashrc, nor /etc/profile, nor /usr/include/paths.h. Those are all the places I know to look. There is no /etc/PATH or /etc/path. Is there somewhere else I should check?
- 09-12-2007 #2
Some of the paths are set by scripts in /etc/profile.d.


Reply With Quote
