2

Insted of .bashrc put the setting line to /etc/profile. This file is loaded on every user login just like .bashrc is for a specific user. The bonus is this works for other shells and sessions as well.


Only top voted, non community-wiki answers of a minimum length are eligible