07-01-2011 10:53 AM
All documentation I have found says that the EnvFile attribute is sourced using the login shell of User. I need to understand that, for example, if the User's login shell is set to /bin/bash, will bash load the /etc/profile?
Thank you!
Solved! Go to Solution.
07-02-2011 02:15 AM
I assume you mean the EnvFile attribute of a VCS agent like Oracle. Here the EnvFile attribute should contain the name of a file and this is the file that is sourced. Whether /etc/profile is sourced is down to the particular agent and different agents and agent versions do different things, but in essense, some agent use:
Note also that other attrributes in the agent will also set variables and these are likely to be set AFTER running EnvFile - for example if you set ORACLE_HOME in EnvFile file, then as this is set by agent by the "Home" attribute, this value would be overridden.
Mike
07-02-2011 02:15 AM
I assume you mean the EnvFile attribute of a VCS agent like Oracle. Here the EnvFile attribute should contain the name of a file and this is the file that is sourced. Whether /etc/profile is sourced is down to the particular agent and different agents and agent versions do different things, but in essense, some agent use:
Note also that other attrributes in the agent will also set variables and these are likely to be set AFTER running EnvFile - for example if you set ORACLE_HOME in EnvFile file, then as this is set by agent by the "Home" attribute, this value would be overridden.
Mike