OS authentication [message #333986] |
Tue, 15 July 2008 02:10  |
coolbalaga
Messages: 24 Registered: September 2006
|
Junior Member |
|
|
Hello,
Need help on the OS authentication (Unix User):
I am not able to login to the Oracle database using the OS authentication . I am getting the below error when tried to connect with the sysdba..
<--------
SQL> conn /@TEST as sysdba;
ERROR:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
------------>
But I am able to connect to the database as (without the sysdba privilege)
SQL> conn /@TEST;
I have user with OPS$ORATEST (ORATEST being the OS user and is part of the dba,oper group). Granted roles are
GRANTED_ROLE
-----------
DBA
CONNECT
RESOURCE
SELECT_CATALOG_ROLE
Even Oracle doesnot allow giving the sysdba or sysoper to the externally identified user (i.e., OS user)
So What permission/privilege to be given the OS user so that i can connect to the database "as sysdba" ?
Thanks in advance.
|
|
|
|
Re: OS authentication [message #334003 is a reply to message #333990] |
Tue, 15 July 2008 03:11   |
coolbalaga
Messages: 24 Registered: September 2006
|
Junior Member |
|
|
Thanks for a quick reply.
I want to use the OS user and connect as
SQL> conn /@TEST as sysdba;
where TEST is DB
and ORATEST is the unix OS user.
For this, I am getting the " insufficient privileges" error. DO i have to give any specific role/privelege to the OS user?
|
|
|
|
|
|
|
Re: OS authentication [message #335695 is a reply to message #335687] |
Wed, 23 July 2008 05:32  |
 |
Michel Cadot
Messages: 68749 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Once again you should read the documentation.
The purpose of password file is to allow a user to remotely connect as sysdba giving its account name and password NOT to externally connect as sysdba. For this it MUST be in dba group.
You can't, I repeat you can't remotely connect as sysdba without giving an account and password.
Regards
Michel
|
|
|