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.

 


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31383567/viewspace-2134413/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/31383567/viewspace-2134413/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值