• OCP-1Z0-052-V8.02-153题


    153. The database instance has the following parameter setting:

    OS_AUTHENT_PREFIX = OPS$

    OS_ROLES = FALSE

    REMOTE_OS_AUTHENT = FALSE

    REMOTE_OS_ROLES = FALSE

    TIMED_OS_STATISTICS = 0

    You have a local operating system user SKD. You create a database user OPS$SKD, and then assign

    external authentication. The user OPS$SKD has the CREATE SESSION privilege. What would you

    achieve by the above process?

    A.The database user OPS$SKD will be able to administer the database. 

    B.The authentication detail for the database user OPS$SKD is recorded in the password file. 

    C.The local operating system user SKD will be able to access the database instance without specifying

    the username and password.

    D.The database user OPS$SKD has to login with the password of the local operating system user SKD to

    access the database instance.

    Answer: C  

    答案解析:

    参考:http://blog.csdn.net/rlhua/article/details/12272827


    外部验证:这是使用数据库外部的方法(操作系统、Kerberos 或Radius)执行的验证。Kerberos或Radius 需要使用高级安全选件。用户可以在不指定用户名或口令的情况下连接到Oracle DB。借助于执行严格验证的高级安全选件,系统可以通过使用生物统计学、x509 证书和标记设备来识别用户。使用外部验证时,数据库依赖基础操作系统、网络验证服务或外部验证服务来限制对数据库帐户的访问。对于此类登录不会使用数据库口令。
     
    如果操作系统或网络服务允许的话,可以使用外部验证来验证用户。如果使用操作系统验证,请设置OS_AUTHENT_PREFIX初始化参数,并在Oracle 用户名中使用前缀。OS_AUTHENT_PREFIX参数定义了一个前缀,Oracle DB 会在每个用户的操作系统帐户名之前添加此前缀。为了实现与Oracle 软件早期版本的向后兼容,此参数的默认值为OPS$。
     
    sys@TEST0924> show parameter OS_AUTHENT_PREFIX
    NAME TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    os_authent_prefix string ops$
     
    用户尝试建立连接时,Oracle DB 会将带前缀的用户名与数据库中的Oracle 用户名进行比较。例如,假定OS_AUTHENT_PREFIX设置如下:
    OS_AUTHENT_PREFIX=OPS$ ,如果某个用户的操作系统帐户名为tsmith,该用户需要连接到Oracle DB 并且已由操作系统进行验证,则Oracle DB 会检查是否存在对应的数据库用户OPS$tsmith,如果存在这样的用户,则允许该用户建立连接。在对用户(操作系统已对其进行了验证)的所有引用中必须包含OPS$tsmith中显示的前缀。
    注:在某些操作系统中,OS_AUTHENT_PREFIX初始化参数的文本是区分大小写的。

     

  • 相关阅读:
    django–url
    SQLServer-镜像配置
    linux-阿里云ECS部署PPTP(centos)
    linux- svn服务器
    python(7)– 类的反射
    python(7)–类的多态实现
    python(6)-shutil模块
    python(6)-执行shell命令
    python(6)-类
    nagios–配置文件
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316761.html
Copyright © 2020-2023  润新知