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

Re: environment setting in debian.



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.

Michael

-- 
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10


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


Reply to: