I need to call a modified version of a program in /home/user_name/bin rather than the (older) version in /opt/program_name/current on a CentOS 5.3 cluster. The program creates a tcsh script using python and then executes that script. I can overwrite the PATH to call the modified version of the program in ~/bin, such that which program_name identifies the path to ~/bin. I have done this in .bashrc, .profile, .tcshrc, and .cshrc. However, each time the tcsh is executed, environmental variables from /etc/profile are loaded and the path gets reverted to /opt/program_name/current.These program-specific variables are set when /etc/profile.d/program_name.sh is called by /etc/profile:# /etc/profile for i in /etc/profile.d/*.sh ; do    if [ -r $i ]; then        . $i    fidoneunset iThus, when program_name.sh is called, the corresponding script is:# /etc/profile.d/program_name.shsetenv PATH ${PATH}:/opt/program_name/currentHow can I prevent /etc/profile from being accessed by my user account?I do not have su access and other users are still using the older version of the software in /opt/program_name/current so I can't update the software or modify settings in /etc/profile.d/program_name.sh
Global /etc/profile setenv or export overwriting user settings in .profile
shell script;centos;path;tcsh