密码文件和remote_login_password的关系

remote_login_password:
remote_login_password = none
不使用密码文件认证

remote_login_password = exclusive
单个instance使用密码文件,可记录多个user的信息。
如grant sysdba to scott, 密码文件就记录了scott的信息 。

remote_login_password = shared
可多个instance使用同一密码文件,只能记录sys, 以及internal的权限。

当使用密码文件时,当执行alter user sys identified by sys; 密码文件该user的密码会做相应改变。

 

Oracle认证:
Oracle支持本地认证, 网络认证二种方式。
a) 本地认证
window平台需要二个地方设定:
    1) sqlnet.ora设定sqlnet.authentication = (NTS) 
    2) OS user需要加入ORA_DBA , 或者ORA_{SID}_DBA group
 符合以下条件就可以使用本地认证, 而solaris平台不需要设定sqlnet.ora文件,当osuser属于DBA组时, 就可以使用本地认证。

b) 网络认证
使用tns连接到DB时采用的认证方式。当使用网络认证以sysdba登陆DB时,注意必须设定remote_login_password=exclusive or shared

  

请使用浏览器的分享功能分享到微信等