Get the App
SLTechnology News&Howtos  ›  Servers  › 

Log in to ORACLE through operating system authentication at windows

Shulou Source: shulou.com Published: 2022-06-02 05:04:47 11月15日 Update

Log in to ORACLE through operating system authentication at windows

2010-1-14

Under windows 2008, try to log in to oracle and report an error:

C:\ Users\ oracle > sqlplus / nolog

SQL*Plus: Release 11.1.0.6.0-Production on Wed Jan 13 17:42:49 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

SQL > conn / as sysdba

ERROR:

ORA-01031: insufficient privileges

Obviously is an ORACLE user, how can I say that I do not have permission? Is it possible that 2008 of Windows discriminates, and the competition between sqlserver and oracle databases extends to OS and DB?

Probably not.

Find an explanation on the ORACLE website:

When you install Oracle Database, a special Windows local group called ORA_DBA is created (if it does not already exist from an earlier Oracle Database installation), and your Windows username is automatically added to it. Members of local group ORA_DBA automatically receive the SYSDBA privilege.

I checked my environment and found that oracle users did not assign ora_dba group. It must be that there is no permission given to sysdba to pass the operating system authentication.

Modify permissions and log in again. The problem is solved:

C:\ Users\ oracle > sqlplus / as sysdba

SQL*Plus: Release 11.1.0.6.0-Production on Wed Jan 13 18:34:06 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Release 11.1.0.6.0-64bit Production

I've been in UNIX for too long. I can't even use the simple operation of windows. I'm ashamed.

-END-

Tags: Permissions operating system system login authentication user again data database time shame environment problem attempt login competition affirmation explanation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi vpn OPPO Reno Linux