title: Setting PATH for 'ROOT' in Red Hat 5
body: <p>I have edited '/etc/profile' and added the following:</p>
  
  <p>export JAVA_HOME=/usr/java/jdk1.6.0_21</p>
  
  <p>However, when logged in as 'root': '# echo $JAVA_HOME' lists a different path.</p>
  
  <p>How do I configure 'root' to pick the above path? </p>
  
  <p>NB: Exporting paths in 'bashrc' or '.bash_profile', for root,  did not work for account 'root'.</p>