Connect as sysdba [message #58455] |
Thu, 28 August 2003 02:49 |
Dik
Messages: 27 Registered: June 2002
|
Junior Member |
|
|
Hi,
1. I connect in OS(Unix) as user Tornado, then I can connect on my database as sysdba like this :
$sqlplus /nolog
sqlplus>connect / as sysdba;
Connected
So, if someone get my Tornado password he can connect on database as sysdba. How can I prevent this!
2. I would like to create a script for shutdown and startup database. How can I hide password in script:
sqlplus user/password
shutdown immediate
Where can I get a cold backup script?
Thanks
|
|
|
|
Re: Connect as sysdba [message #58469 is a reply to message #58458] |
Fri, 29 August 2003 08:37 |
Kartik Nair
Messages: 15 Registered: August 2003
|
Junior Member |
|
|
Set up the correct environment before using setting up the cron for your backups, start or stop the database.
An entry in the oratab will help while bringing down the server itself, so that there is clean shutdon and startup.
Make use of the orapasswd file in your scripts.
|
|
|