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

Re: environment setting in debian.



On Mon, May 18, 1998 at 10:09:36AM +0200, Michael Meskes wrote:
> Andreas Jellinghaus writes:
> > Example : LC_LANG should be set.
> > 
> > How can i set this, so every user will be affected, no matter whether she logs
> > in via telnet, ssh or xdm.
> > 
> > i would prefer to set environment variables only in __one__ place.
> > 
> > suggestion (i see no other way) : modify /etc/X11/Xsession to source .profile
> > and put everything in there. maybe also source ~/.profile.
> 
> Is this sufficient? No, I'm not talking about C-Shells, but about the login
> at the console. Doesn't the shell source .profile AFTER initiating its
> locale? Please correct me if I'm wrong, but this would mean we have to set
> the variable even earlier.
> 
I think the right place is /etc/environment. But it isn't working.  We must
patch xdm, kdm and (?).

/etc/environment come from the shadow-package and it is a nice File. See also
the debian-devel-archive. 

Grisu


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: