Thanks bartus11, I had just managed to hunt it down and was coming back to post 
my answer for others.

In OpenSolaris, bash is the default shell and PATH is now set in 
/etc/bash/bashrc (global), then overridden for user in ~/.bashrc . I guess 
other shells use different files. Maybe OpenSolaris is phasing out /etc/profile 
and  ~/.profile. Oh it's such a PITA for someone coming to UNIX, and then to 
OpenSolaris from Solaris 8/9/10. I think given that /etc/profile is so well 
known, there should be footnote after the "export LOGNAME PATH" explaining 
where the PATH variables are set (e.g. sh uses this, bash uses that, csh uses 
this, Ksh uses that.

AND..... A nice table with all the info about where PATH is set should be 
published somewhere on the web that's easy to search for.

For anyone concerned, X11 and GDM scripts do interfere with a users PATH.
-- 
This message posted from opensolaris.org

Reply via email to