Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to add application specific custom profile for all users without using /etc/profile

create xyz.sh inside /etc/profile.d for each application

eg. to add path to /opt/firefox for firefox application

# vi /etc/profile.d/firefox.sh

/etc/profile.d/firefox.sh

PATH=/opt/firefox:$PATH