How do I set global environment variables in Ubuntu, in such a way, that they would apply also to
both works for usual user, but not for
I'm logging in as root using
sudo bash or
NOTE: using Ubuntu 10.04.