[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/environment

> I just installed the pam-apps and found that /etc/environment is no longer
> used. Is there another way to add environment variables for my login shell
> now? That is I want to set LC_ALL.

For your personal login shell?  If you use bash, then ~/.bash_login and
probably ~/.bashrc.  Might be worth writing a ~/.bash_env and then
sourcing them (using: ". ~/.bash_env") from both.  You *don't* want to
set a global LC_ALL: that's the responsibility of individual users.
(And even if you are the only user on your machine, you may not want
to set LC_ALL for root.)



  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg

Reply to: