Results 1 to 2 of 2
Hi all,
My application modified the PATH variable for its proper running using /etc/profile file. Problem is PATH variable is not getting set on my RHEL5 machine, where as the ...
- 09-29-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 13
/etc/profile not getting executed on RHEL5 box
Hi all,
My application modified the PATH variable for its proper running using /etc/profile file. Problem is PATH variable is not getting set on my RHEL5 machine, where as the same works fine on RHEL4.
Basically the command ". /etc/profile" sets the PATH variable for RHEL4 however, it does not do so on RHEL5.
Kindly provide some inputs on how to resolve this issue on Red HatLinux5box.
Linux5 details:
# cat /etc/*release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Linux4 used is :# cat /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Else provide inputs on how to set the PATH variable on Linux5 using /etc/profile through a script probably.
- 09-29-2009 #2
can you post the contents of your /etc/profile file? Does it have any line in it like PATH=/usr/bin:/bin ?


Reply With Quote