Hi, I got a problem setting my PATH under OpenSolaris b75

in /etc/profile I add:

PATH=/opt/SUNWspro/bin:$PATH ; export PATH
MANPATH=/opt/SUNWspro/man:/usr/man:$MANPATH ; export MANPATH

This works great for all users but root, strange thing is that MANPATH works 
for root?? but not PATH??

as root:
echo $PATH
/usr/sbin:/usr/bin <- WHY NOT THE PATH I SET??
echo $MANPATH
/opt/SUNWspro/man:/usr/man: <- THIS WORKS?

Where is sbin set??

as other user:
echo $PATH
/opt/SUNWspro/bin:/usr/bin
echo $MANPATH
/opt/SUNWspro/man:/usr/man:

Works for other users but not for root? Can anyone help me with this one?


Also a problem I got with bash, as root. I added a .profile and a .bash_profile 
and a .bashrc in / but bash don't get it. Wrong place? bash works when I start 
it from / with: bash --rcfile .bash_profile the I get the PATH set, not 
otherwise?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to