No need to set a listener password in ORACLE 10G
的監聽器一直以來都存在一個嚴重的安全問題,那就是:
如果不設定安全措施-監聽加密,那麼能夠訪問的使用者就可以遠端關閉監聽器。所以在10g以前,對listener加密是可以防止遠端關閉監聽的,但是到了10g,預設已經對遠端使用者進行了安全加固,遠端使用者不可以關閉server端的監聽。
In this Document
Applies to:
Oracle Net ServicesInformation in this document applies to any platform.
Checked for relevance on 8-OCT-2009.
Goal
How to set a password for 10g and newer listeners leaving the default OS authentication mechanism in place.
In Oracle 10g and newer versions of the listener, the listener is secure out of the box. There should be no need to set a listener password to prohibit privileged LSNRCTL commands from being executed.
Beginning with version 10g, the listener now uses local OS authentication. As long as one runs LSNRCTL privileged commands (stop, status, etc) as the same user who started the listener, that user will be able to fully administer the running listener without providing a password.
This security feature is enabled by default and can be identified at listener
startup, or when issuing a LSNRCTL STATUS command, by the following output:
Security ON: Local OS Authentication
If the TNSListener is started as the "oracle" user and the user "sales" attempts
to administer the listener, or if "oracle" on a different node attempts to
administer the listener, the following error will be returned:
TNS-01190: The user is not authorized to execute the requested listener command
The following commands are all privileged:
SAVE_CONFIG, STOP, TRACE, SPAWN, RELOAD,
SET {LOG_FILE, LOG_STATUS, INBOUND_CONNECT_TIMEOUT, SAVE_CONFIG_STOP_ON,
TRC_FILE, TRC_LEVEL, LOG_DIRECTORY, STARTUP_WAITTIME}
SHOW {RULES, TRC_DIRECTORY, LOG_FILE, LOG_STATUS, INBOUND_CONNECT_TIMEOUT,
SNMP_VISIBLE, TRC_FILE, TRC_LEVEL, LOG_DIRECTORY, STARTUP_WAITTIME,
SAVE_CONFIG_STOP_ON}
Solution
A secondary user is able to administer the listener if a listener password is
set and the secondary user knows the password. In this example, "oracle" will
set an encrypted password for the listener and the user "sales" will stop the
listener.
As the "oracle" user, set and encrypt the listener password:
1) LSNRCTL> set current_listener
2) LSNRCTL> change_password
Old password:
New password: 10glistener (text is not echoed)
Reenter new password: 10glistener (text is not echoed)
3) LSNRCTL> save_config
4) LSNRCTL> status
STATUS output will now show:
Security ON: Password or Local OS Authentication
As the "sales" user, enter the password to administer the listener:
1) LSNRCTL> set password
Password: 10glistener (text is not echoed)
2) LSNRCTL> stop
參考文獻:
1. Setting Listener Passwords With an Oracle 10g or Newer Listener [ID 260986.1]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-664326/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 為oracle listener set passwordOracle
- remote_listener和listener passwordREM
- Need to set ‘serverTimezone‘ propertyServer
- lsnrctl中,SET PASSWORD和CHANGE_PASSWORD命令
- After mysql installation, we need to change the password of root as belowMySql
- ORACLE之手動註冊監聽listener。alter system set local_listener="XXX"Oracle
- Django中的函式make_password、set_password和check_passwordDjango函式
- Oracle ListenerOracle
- Oracle WebLogic Default Password & Change PasswordOracleWeb
- sqlplus login -- SP2-0750: You may need to set ORACLE_HOME to your Oracle software directorySQLOracle
- oracle監聽檔案listener.ora for 10g/11gOracle
- oracle 10g oem 報出RemoteOperationException: ERROR: Wrong password for userOracle 10gREMExceptionError
- oracle 10g sqlplus_set sqlprompt之妙用_ztOracle 10gSQL
- Oracle Password File 理解Oracle
- 9I 10g LISTENER 加密 的不同加密
- [備忘]Redis執行出現Client sent AUTH, but no password is setRedisclient
- 通過telnet登入交換機:password required, but none setUINone
- oracle listener工具知識Oracle
- Oracle Profile and PASSWORD_VERIFY_FUNCTIONOracleFunction
- oracle set eventsOracle
- oracle set roleOracle
- [Oracle] Oracle RAC中local_listener指定Oracle
- 翻譯:SET PASSWORD語句(已提交到MariaDB官方手冊)
- Oracle listener log配置與管理Oracle
- Oracle OCP(43):listener.oraOracle
- oracle-listener 4GOracle
- oracle 9i、10g、11g資料庫設定listener密碼的方法Oracle資料庫密碼
- 【LISTENER】Oracle 10g監聽的本地作業系統認證(Local OS Authentication)安全特性Oracle 10g作業系統
- 【Oracle】並行等待之PX Deq Credit: need bufferOracle並行
- Oracle PSU (Patch Set Update)- 10g補丁列表及如何檢視補丁Oracle
- Oracle裡的setOracle
- TNS-12518: TNS:listener could not hand off client connection For ORACLE 10G (AIX6.1)clientOracle 10gAI
- Oracle listener log 日誌分析方法Oracle
- oracle備份指令碼_user_passwordOracle指令碼
- Oracle set unused的用法Oracle
- Oracle SET 命令總結Oracle
- oracle set 使用命令Oracle
- Oracle 11.2.0.2.0 patch setOracle