L
Leo
Dear All,
In root mode, I added following lines to /root/.bashrc
export JAVA_HOME=/opt/SUNWappserver
export CATALINA_HOME=/opt/tomcat
Later, I found that if I am not super user,
echo $JAVA_HOME returns blank.
Only in root mode,
echo $JAVA_HOME returns /opt/SUNWappserver
I thought anything in root is available to general users. Why is not
this time?
Thank you very much.
In root mode, I added following lines to /root/.bashrc
export JAVA_HOME=/opt/SUNWappserver
export CATALINA_HOME=/opt/tomcat
Later, I found that if I am not super user,
echo $JAVA_HOME returns blank.
Only in root mode,
echo $JAVA_HOME returns /opt/SUNWappserver
I thought anything in root is available to general users. Why is not
this time?
Thank you very much.