please try su - oracle this will work --- On Thu, 16/7/09, Rohit khaladkar <rohit.khaladkar@xxxxxxxxx> wrote: From: Rohit khaladkar <rohit.khaladkar@xxxxxxxxx> Subject: bash_profile question. To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx> Date: Thursday, 16 July, 2009, 5:19 AM Hi All,I have RHEL 5.3 running on my system. I have a customized .bash_profile script in /home/oracle directory which sets ORACLE_HOME and other variables. When I login to the system as a Oracle user the .bash_profile script does initiate , but when I login as a root and do a "*su oracle*" , the ..bash_profile does not run. Any ideas what may be wrong, or what files I should be looking at..? -- Thanks! Rohit Khaladkar -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/ -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list