Computer Tips - How can I run something when each user logs in?

Date: 2012aug11 OS: Linux Distro: RedHat/Fedora/CentOS Language: bash Q. How can I run something when each user logs in? A. Make a script in /etc/profile.d eg:
/etc/profile.d/SOMETHING.sh