How to add a environ. variable to all users?
Hi,
I want to add ORACLE_HOME variable to all user’s who login into my oracle server box. What is the best way to do it? I know that I can add a line to ~/.bash_profile, but I want to have that variables globally for everybody. Thank you, Alan |
Hi,
Put it in /etc/profile, this makes it global for all users. I do assume the users are using a bash shell. Hope this helps. |
Thank alot. Can I assume /etc/profile is identical to autoexec.bat is MSDOS?
|
Hi,
It's not identical, but the comparison is close enough. |
All times are GMT -5. The time now is 03:26 AM. |