When the ITCM Agent is installed on Linux/Unix files /etc/profile and /etc/profile.CA are updated.
/etc/profile:
Following line is added at the end
test -r /etc/profile.CA && { CA_SECTION=ccs; export CA_SECTION; . /etc/profile.CA; unset CA_SECTION; } # Added by Computer Associates
/etc/profile.CA:
Following lines are added:
CA_ITRM_BASEDIR=/opt/CA/DSM; export CA_ITRM_BASEDIR if [ -f "$CA_ITRM_BASEDIR/scripts/dsmenv" ];then . "$CA_ITRM_BASEDIR/scripts/dsmenv" fi
How to avoid the update of file /etc/profile and/or /etc/profile.CA during installation of Agent?
Solution 1 - Do not update the files /etc/profile and /etc/profile.CA
Use a response file and set this parameter to 0:
ITRM_SETUP_SYS_PROFILE=0
Example:
./installdsm -r /tmp/agent/agent.rsp
Solution 2 - Do not update the file /etc/profile but update the file /etc/profile.CA
In response file comment the parameter ITRM_SETUP_SYS_PROFILE:
#ITRM_SETUP_SYS_PROFILE=0
And in the command line add /RUpdate_profile=0
Example :
./installdsm -r /tmp/agent/agent.rsp /RUpdate_Profile=0
Remark :
If after CA ITCM Agent installation, should you need to update the files /etc/profile and/or /etc/profile.CA, use the following commands: