環境:
oracle11g
SQL> show parameter remote_login_passwordfile
NAME TYPE VALUE
------------------------------------ ----------- -----------
remote_login_passwordfile string EXCLUSIVE
win7系統:
當SQLNET.AUTHENTICATION_SERVICES= (NTS),登錄成功
C:\Users\thinkpad>sqlplus " / as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:44:35 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
連接到:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show user
USER 為 "SYS"
當SQLNET.AUTHENTICATION_SERVICES= (NONE),登錄提示權限不足
SQL> exit
從 Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷
開
C:\Users\thinkpad>sqlplus " / as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:51:23 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
當SQLNET.AUTHENTICATION_SERVICES= (ALL),提示驗證服務無法初始化
C:\Users\thinkpad>sqlplus " / as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:52:21 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12641: 驗證服務無法初始化
當SQLNET.AUTHENTICATION_SERVICES這行注釋后,提示權限不足
C:\Users\thinkpad>sqlplus " / as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on 星期日 4月 15 21:53:24 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
linux系統(cemtos5.3)
當SQLNET.AUTHENTICATION_SERVICES= (NTS)或SQLNET.AUTHENTICATION_SERVICES= (NONE),登錄提示權限不足
[oracle@localhost ~]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Apr 15 22:08:12 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
當SQLNET.AUTHENTICATION_SERVICES= (NTS)注釋或SQLNET.AUTHENTICATION_SERVICES= (ALL),登錄成功
[oracle@localhost ~]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Apr 15 22:08:39 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
說明:
2.NTS看來只是對xp系統的認證可行
3.NTS:操作系統認證