Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Setting/changing env variables
@ 1997-06-04 11:56 Neil Garratt - Mansarde
  0 siblings, 0 replies; only message in thread
From: Neil Garratt - Mansarde @ 1997-06-04 11:56 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-04 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-04 11:56 Setting/changing env variables Neil Garratt - Mansarde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox