zoukankan      html  css  js  c++  java
  • ASM认证与口令文件

    ASM认证

    ORACLE ASM 实例没有数据字典,所以连接ASM 实例只能通过如下三种系统权限来进行连接: SYSASM,SYSDBA,SYSOPER.

    可以通过如下三种模式来连接ASM 实例:
    1.在操作系统上直接使用OS 认证。
    2.在操作系统上使用口令文件认证。
    3.通过Oracle Net Service远程+ 口令文件远程连接。

    ASM 口令文件

    如何创建ASM 实例的口令文件?

    若使用ASMCA 来创建的ASM 实例,那么会创建口令文件,口令文件默认的用户是SYS 和 ASMSNMP。
    如果要添加其他用户到口令文件中,就需要使用create user 和 grant命令来添加。

    若不是使用ASMCA来创建的,就需要手工的创建口令文件,并对SYS用户赋予SYSASM 的权限。

    ASM 口令文件创建和oracle 实例一样:
    $ orapwd file=$ORACLE_HOME/dbs/orapw+ASM password=oracle

    node1-> orapwd
    Usage: orapwd file=<fname> entries=<users> force=<y/n> ignorecase=<y/n> nosysdba=<y/n>

    where
    file - name of password file (required),
    password - password for SYS will be prompted if not specified at command line,
    entries - maximum number of distinct DBA (optional),
    force - whether to overwrite existing file (optional),
    ignorecase - passwords are case-insensitive (optional),
    nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only).

    There must be no spaces around the equal-to (=) character.

  • 相关阅读:
    COGS 2075. [ZLXOI2015][异次元圣战III]ZLX的陨落
    51nod 1099 任务执行顺序
    洛谷 P1215 [USACO1.4]母亲的牛奶 Mother's Milk
    洛谷 P3395 路障
    2017.10.25 模拟赛
    COGS 146. [USACO Jan08] 贝茜的晨练计划
    洛谷 P3905 道路重建
    COGS 678. 双重回文数
    洛谷 P1509 找啊找啊找GF
    51nod 1366 贫富差距
  • 原文地址:https://www.cnblogs.com/andy6/p/6478437.html
Copyright © 2011-2022 走看看