> Number one is,I need to add /opt/csw/bin to my Path > under root which uses /bin/sh,and under my regular > user account which uses bash.Under root I do > "PATH=$PATH:/opt/csw/bin" and it works as long as I > don't logout or exit the terminal session.How do I > make it stick?
For your regular user, either add "export PATH=$PATH:/opt/csw/bin" to your ~/.bashrc or edit /etc/default/login and uncomment the PATH entry, and add /opt/csw/bin to it (I usually do the latter, but that results in all of your users having that path -if you care about that, then go the .bashrc route). For root, assuming that you're su'ing to root in a terminal, edit /etc/default/su and uncomment the SUPATH entry and add /opt/csw/bin (and whatever else you need) to it. HTH This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
