zoukankan      html  css  js  c++  java
  • SQLNET.AUTHENTICATION_SERVICES值在不同操作系统下的含义

    环境:

    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

    说明:

    1.在http://hi.baidu.com/%EE%D1%D7%D300544/blog/item/a546e0ee1c4eb4ecb3fb9569.html该文章中说在windows系统中,设为ALL时是可以认证,但是我的实验了几次都不行,设为ALL后都提示“验证服务无法初始化”,不知道是不是因为oracle版本问题还是我的是win7问题。

     2.NTS看来只是对xp系统的认证可行

    3.NTS:操作系统认证

       NONE:口令文件认证


  • 相关阅读:
    构造代码块重要理解
    Java中静态代码块、构造代码块、构造函数、普通代码块
    MySQL-分组查询(GROUP BY)及二次筛选(HAVING)
    mysql select将多个字段横向合拼到一个字段
    java语言支持的变量类型
    static修饰属性,方法,类
    恶意代码分析----网络环境配置
    Windows反调试技术(下)
    Windows反调试技术(上)
    脱壳入门----常见的寻找OEP的方法
  • 原文地址:https://www.cnblogs.com/lanzi/p/2450928.html
Copyright © 2011-2022 走看看