This content has been marked as final. Show 7 replies
Please post your script.
YOu can. But ensure you encrypt the dbstart file to prevent any unauthorized access.
yes you can do
conn as sysdba
will connect to your database as sysdba user
Be sure that passwordfile exist in $ORACLE_HOME/dbs directory, otherwise create it with orapw utility. Also remote_login_passwordfile parameter must be set to EXCLUSIVE or SHARED.
Agree. Use /nolog or with current versions sqlplus / as sysdba so no pasword is needed...providing that the os user is part of the dba group.
Note: works on solaris, but should be similar on linux if i recall.
Should be no need to hard code the password.
at least post your script , and you can add sqlplus /nolog , conn username/password
Khurram Shehzad wrote:IF you are using the standard dbstart script, and IF you installed it according to commonly available instructions (including proper ownership) it should be able to make a sysdba connection without having to supply credentials.
I have authentication problem in auto start of database while startup of Linux OS. I am using auto start script. When I set password of sys then database not starting automatically and I always need to startup manually. I add username(sys) and password in dbstart script and its is now working fine.
My question is that is this a proper way to solve this issue?? Can I implement this solution in Professional Production database environment??? or I need another proper solution??