bash_profile question.

Nishanth Chandran nishuchandran at gmail.com
Thu Jul 16 12:33:16 UTC 2009


Hello,

su oracle, you will get the rights of the user but you don't actually load
the profile

su - oracle , will load the profile also

Regards,
Nishanth

>
> Rohit khaladkar wrote:
>
>> 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..?
>>
>>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
This is Unix and Linux country, on a quiet night you can hear Windows
Reboot.



More information about the redhat-list mailing list