Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Restricting SYS connection without password

720450Sep 7 2009 — edited Sep 8 2009
Normally, if we want to connect to the SYS user of an oracle database from the server side we can connect it without giving a password and like this:

cmd> sqlplus /nolog
SQL> conn / as sysdba;

This will connect the database as SYS user. Also from the client side or even from the server side connecting to SYS user can be done like :

cmd> sqlplus /nolog
SQL> conn sys@db_name as sysdba;

This connection will prompt password of SYS user.

Now my requirement is that wherever any one wants to connect to the database as SYSDBA/SYSOPER privileged user s/he must have to input the password that means s/he can't connect to the database using: CONN / AS SYSDBA but can connect using like CONN SYS@DB_NAME AS SYSDBA which will require password to authenticate.

So is there any way to restrict the SYS user connection from server side using CONN / AS SYSDBA.

--Bazlur
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2009
Added on Sep 7 2009
12 comments
2,393 views