Setting up profile
posted 10 years ago
There's actually a whole chain of profiles and it varies somewhat between distros. /etc/profile is likely the one you want for global stuff; the .bash_profile in the user's home directory is executed when they login using bash as their initial shell (or "su" a new shell session), so you'd have to replicate things for each user. There's probably a global /etc/bash_profile as well for all bash users.