95. You want your listener to be password protected to prevent it fro
m being shut down. You want to accomplish this task while the listene
r is functional. Which method could you use to achieve this objective
?
A. Use the CHANGE_PASSWORD command of the Listener control utility.
B. Use the SET PASSWORD and SAVE_CONFIG commands of the Listener cont
rol utility.
C. Use the CHANGE_PASSWORD and SAVE_CONFIG commands of the Listener c
ontrol utility.
D. Manually modify the listener.ora file to include the password for
the listener and restart the listener.
Answer: C
要设置监听器密码只能使用CHANGE_PASSWORD ,而SET PASSWORD 的作用是
密码验证用的,如你设置好了密码后,如果要停止监听,则需要先用SET PASSWORD
输入正确的密码。
如果为listener 设置了口令,那么在lsnrctl 中执行stop,save_config,
change_password 命令操作不论是local 还是remote listener 时都需要通过set
password 来输入口令,只有口令正确才能执行上述命令。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11312660/viewspace-717998/,如需转载,请注明出处,否则将追究法律责任。