set environment variable?

Installed a program, need to set the system up so that when the executable is entered, it finds the path to the executable. In Windows, set under system properties, advanced, environmental variables. How do I do this with Unix? Specifically using Solaris 9. I have tried:
env PATH=/usr/local/uvscan
This sets it temporarily but when I reboot, it disappears. Thought it would be a .profile file for root but cannot find one.

The documentation for the software says: Set the appropriate environment variable: For Solaris: use LD_LIBRARY_PATH

What's that mean? How do you do that?

Gracias senors y' senorita's... :rolleyes: :rolleyes:

/etc/profile is the system wide variable. you can edit this file or do it from the command prompt.

example:

bourne shell:
set
VARIABLE=blah blah blah

korn shell (ksh):
export VARIABLE=blah blah blah

Thanx xnight...I had tried using that file before and it did not work. When you mentioned it, I realized that I had just put in the new PATH=blah blah, not the old one PLUS the new. Now everything works. My what a nice day. :slight_smile:

no problem amigo