[SunHELP] Environmental Variables

Michael A. Turner mturner at whro.org
Tue Jul 1 13:00:23 CDT 2003


	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



More information about the SunHELP mailing list