Hidden environment variables??
I am trying to port a custom application from a RHEL4 server to a RHEL6 server.
On the RHEL 4 server, if you run the command: "env". The person who set this up had custom environment variables set so the application could use them in the scripts.
I grabbed the environment variables. exported from the /etc/bashrc ran source and restarted the server and they now appear on the RHEL6 server.
Situation is the custom application I run, does not recognise these environment variables and I cannot locate them ANYWHERE on the RHEL4 box.
I have searched for hidden files, .bashrc, .bash_profile , /etc/bashrc, /etc/rc.local, files in /etc/skel for any export statements which define these variables on the RHEL4 system and cannot locate any.
My only thoughts are they are some how in the custom application code, and generated to the bash shell ?
anyone have any ideas? I am kinda stumped.
Thanks for your time...