oracle sysdba用户远程登录

sysdba远程登录需要两个条件:

1、remote_login_passwordfile =exclusive时,启用口令文件,允许远程登录;

 

查看remote_login_passwordfile 参数

SQL> SHOW PARAMETER REMOTE_LOGIN_PASSWORD

NAME TYPE VALUE
------------------------------------ ----------- 
remote_login_passwordfile string EXCLUSIVE
 
修改remote_login_passwordfile 参数
 
SQL>alter system set remote_login_passwordfile=EXCLUSIVE
 
2、密码文件存在
 
SELECT * FROM V$PWFILE_USERS;
 
USERNAME SYSDBA SYSOPER
 
------------------------------ ------ -------
 orapw file=/database/oracle/product/dbhome/dbs/orapwgsp entries=4 password=wgods123 force=y
posted @ 2016-12-11 20:21  TIMLONG  阅读(3539)  评论(0编辑  收藏  举报