You could try reading the documentation, it's full of information on the circumstances which cause .bash_profile to be sourced. > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Rohit khaladkar > Sent: Thursday, July 16, 2009 2:20 PM > To: General Red Hat Linux discussion list > Subject: bash_profile question. > > 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 > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list