From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98fe607c9ec41e0632517d5aa70c60f4.axp-list@archive.invalid> X-Archive-Original-Message-ID: <1.5.4.16.19970604115624.2c37ff66@pop1.liv.ac.uk> Date: Wed, 04 Jun 1997 12:56:24 +0100 From: Neil Garratt - Mansarde Subject: Re: Setting/changing env variables At 23:30 03/06/97 -0400, you wrote: >How do I go about changing global and local environment variables? I'm >used to the old .profile from Aix, which I use at school (this server). > >Specifically I'm trying to install XF86, and can by exporting a PATH >statement that puts /X11R6/bin before /X11, but that is only a fix that >works until I turn off the computer. > >What do I do? - I have looked at /etc/profile and it shows the exported >$PATH statement, but I do not know where the prior PATH statement comes >from. > >Also, how do I set up Linux to create a .profile for other users when they >login, or when I create that account? > >Thanks > >David > If you want your modified PATH to stay after you logout, put the commands to set and export it in etc/profile. eg, PATH="/X11R6/bin:$PATH" export PATH or whatever. if you want a .profile for each user put a script in their home directory called .profile. the user's profile is executed after the global one. Hope this helps. Neil -=-=-=- Hardware, n.: The parts of a computer system that can be kicked. Expert, n.: Someone who comes from out of town and shows slides. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com