Re: setting up environment variables
From: Adam Hardy (adam.ant_at_cyberspaceroad.com)
Date: 09/16/05
- Previous message: Anthony Campbell: "Re: absurdly simple LAN problem"
- In reply to: Daniel B.: "Re: setting up environment variables"
- Next in thread: Nelson Castillo: "Re: setting up environment variables"
- Reply: Nelson Castillo: "Re: setting up environment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Sep 2005 12:25:38 +0100 To: debian-user@lists.debian.org
Daniel B. on 15/09/05 17:55, wrote:
>
>> On 9/14/05, *Kai Grossjohann* <kai@emptydomain.de
>> <mailto:kai@emptydomain.de>> wrote:
>>
>> Adam Hardy <adam.ant@cyberspaceroad.com
>> <mailto:adam.ant@cyberspaceroad.com>> writes:
>>
>> > If you want to change the envvars globally, then change them in
>> > /etc/profile since all users' profile include that.
>>
>> Is /etc/profile read when a user logs in via xdm, kdm, gdm or a
>> similar program?
>>
>> I tried to get my ~/.profile (or ~/.bash_profile or ~/.zprofile) read
>> when logging in via [gkx]dm, but gave up long ago. Now I use
>> startx...
>
>
> Shouldn't global environment variables be set in /etc/environment?
>
> If you set them in /etc/profile, they won't be set for all shells,
> will they?
Is this a run-level distinction then? Is /etc/profile is only involved
in setting up run-level 2?
I was unaware of the /etc/environment directory. Is this a Debian thing?
A linux thing? An X thing?
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Anthony Campbell: "Re: absurdly simple LAN problem"
- In reply to: Daniel B.: "Re: setting up environment variables"
- Next in thread: Nelson Castillo: "Re: setting up environment variables"
- Reply: Nelson Castillo: "Re: setting up environment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]