[SunHELP] Environmental Variables

Thomas Cameron thomas.cameron at camerontech.com
Tue Jul 1 13:51:21 CDT 2003


Look in /etc/profile.
--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Cameron Technical Services, Inc.
(512) 454-3200 Main
http://www.camerontech.com

----- Original Message ----- 
From: "Michael A. Turner" <mturner at whro.org>
To: "'The SunHELP List'" <sunhelp at sunhelp.org>
Sent: Tuesday, July 01, 2003 1:00 PM
Subject: [SunHELP] Environmental Variables


> Alrighty. I have installed some of the software options from the sun
> options CD. They live in /opt/sfw . Now in order to have them run properly
> they need to be in the PATH. So I figure out that typing setenv PATH
> /usr/bin:/usr/sbin:/opt/sfw/bin:/opt/sfw/sbin:/usr/openwin/bin gives me
the
> love I want. The problem I have is that I want all users to have this path
> statement permanently. I have fixed this for myself so that when I login
> into my shell my .login runs that command and the world is good.
> Unfortunately as soon as I SU I loose that path and I have to reset it.
Then
> I jump into the tcsh shell and again loose my env variables.
>
>        Is there anyway to make PATH
> /usr/bin:/usr/sbin:/opt/sfw/bin:/opt/sfw/sbin:/usr/openwin/bin global to
> everyone? I want all users to have the ability to use that PATH and not to
> go looking for it/
>
>
>
> Michael A. Turner
> Systems Engineer WHRO
> michael.turner at whro.org
> http://www.whro.org
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list