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

Re: /etc/environment



On Fri, Jun 11, 1999 at 08:11:58AM +0200, Michael Meskes wrote:
> > (And even if you are the only user on your machine, you may not want
> > to set LC_ALL for root.)
> 
> I never work as root. :-)
> 
> Anyway, there is one problem with your approach namely that it doesn't do
> what I want. At least it didn't when I tried yome years ago. The problem is
> that the locale initilisation in my shell is done before the environment
> variable is set. So I have to have LC_ALL set before the shell starts.
> That's what /etc/environment is for. 

Read the libpam-docs concerning the pam_env module. You will need to add
it to the /etc/pam.d/login file and then edit /etc/security/pam_anv to
your liking.


Reply to: