[SunHELP] Environmental Variables

Juan Urista juan.urista at eclipsys.com
Tue Jul 1 13:06:41 CDT 2003


hey,

Set the variables in /etc/profile -

Hope this helps

juan




Michael A. Turner wrote:

>	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