052-220(新增70题2018)

Anyone who knows just the host name and the listener name can have full control over the listener. They can stop the listener and also obtain detailed information about the listener, database, and the configuration of the application.

How would you avoid this scenario?

A. lock the listener

B. hide the listener

C. create multiple listeners

D. run listener on a remote client

E. set a password for the listener

F. store listener.ora in a non-default location

Answer: E 

Managing Oracle Net Listener Security 

设置 Oracle 监听器密码(LISTENER)

LSNRCTL> change_password
Old password: 
New password: 
Reenter new password: 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
Password changed for LISTENER
The command completed successfully

  LSNRCTL> save_config

 

如何绕过Oracle listener 监听的密码设置_数据库技术_Linux公社-...

1.找到监听进程pid ,并将它kill 掉
 ps -ef|grep tns

[oracle@lixora admin]$ ps -ef|grep tns 
root        9    2  0 Jul11 ?        00:00:00 [netns]
 oracle  29668    1  0 10:12 ?        00:00:00 /oracle/bin/tnslsnr LISTENER -inherit
 oracle  29677 29487  0 10:15 pts/1    00:00:00 grep tns
 

kill -9 pid
 
kill -9 29668
 

2.然后替换掉原来的listener.ora 文件
 
3.然后启动监听

原文地址:https://www.cnblogs.com/Babylon/p/8611069.html