If you're using the bash shell (standard for OpenSolaris) you should edit this
file ".bashrc" in your home directory.
If done:
source .bashrc
then you can check your complete path: echo $PATH
Normally when you relogin this file is automattically sourced.
In Solaris 10 I'm also using bash but there my path is defined in the
'.profile' file.
If yoy're using the c-shell, it's defined in the.cshrc file.
In other words it's important (depending on the shell you're using) to edit the
correct file in the correct script lamguage.
This message posted from opensolaris.org