SQLNET.AUTHENTICATION_SERVICES=(NONE)
SQLNET.AUTHENTICATION_SERVICES= (NTS)
如果把上面其中一个加入/opt/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora中就不能使用sqlplus / as sysdba直接登录sys用户了。
如:[oracle@dbserver ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 6 15:26:55 2017
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-01031: insufficient privileges
当你用sqlplus / as sysdba;直接去登陆时,它会报没有权限,必须知道sys用户和密码一起输入。