We're setting up an SGE cluster with CentOS 6. My sysadmin is installing applications that are not installed via RPM (i.e. via other means like make install) should go in a non-standard directory, in this case something like
/share/apps/install/bin/. The path for this is currently added to most sessions (login, qlogin, etc) via
/share/apps/etc/environment.sh which is called by
environment.sh also appends some stuff to the PERL5LIB.
The problem that I'm running into is that the
/share/apps/install/bin is not added to some instances, e.g. things called out of a crontab.
I know I can manually and explicitly set
PATH=/bin:/usr/bin:/blah/blah:... within my personal crontab or within any given script or crontab entry, but what I'm hoping is that there's a setting somewhere outside of
/etc/bashrc that would put the non-standard
.../bin directory into all PATHs for all users.