Oracle did not ask for username/passwd to get connected. [message #306694] |
Sat, 15 March 2008 22:10 |
it_me24
Messages: 167 Registered: March 2006 Location: delhi
|
Senior Member |
|
|
Hello Everybody,
I have recently created a Database, and while connecting as SYS DBA i do not need to provide a password because the user is a member of ORA DBA.
I want oracle to ask for the username and password to get connected.
I tried creating a password file but got an error.
SQL> $orapwd file='F:\oracle\product\10.2.0\db_5\dbs' password=test123! entries=5
OPW-00001: Unable to open password-file
so,I removed the user from the ORA-DBA group, by that way oracle did ask for the user and password, since this way any body using the OS Aadministrator account can add/remove the member from ORA-DBA group.
Is there any other way to accomplish the task?
Please Suggest!!
Thanks for your time.
|
|
|
|
Re: Oracle did not ask for username/passwd to get connected. [message #306696 is a reply to message #306694] |
Sat, 15 March 2008 22:31 |
it_me24
Messages: 167 Registered: March 2006 Location: delhi
|
Senior Member |
|
|
Thankyou so much for your reply.
My appologies.
I do not want use connect / as sysdba login method.
I wish oracle to ask for the username and password before login even if i have the OS administrative privs.
I can do it if i remove the user from the OS(ORACLE DBA) group.
but i want security at oracle level.
How do i force users including me to provide username and password to connect to the oracle?
if through password file, then how to check wheather password file is already created or not.
thanks
|
|
|
|
|
|