Listener password |
Tuesday, July 15, 2008 |
Set listener password: ---------------------------- LSNRCTL> set save_config_on_stop on Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))) LISTENER parameter "save_config_on_stop" set to ON The command completed successfully LSNRCTL> set password t0p53cr3t The command completed successfully LSNRCTL>
The commands will instruct the listener to save the configuration to the file after stopping the listener, as mentioned by the command set save_config_on_stop on. This will place the following lines in the file listener.ora
#----ADDED BY TNSLSNR 05-JUL-2003 00:12:48--- SAVE_CONFIG_ON_STOP_LISTENER = ON #--------------------------------------------
#----ADDED BY TNSLSNR 05-JUL-2003 00:13:49--- PASSWORDS_LISTENER = 8D5438362F7F2951 #--------------------------------------------
Note how the password has been recorded in the file, but in an encrypted manner.
In this setup, where the encrypted password is mentioned in the parameter file, setting the password is like the case where the password is not specified in the parameter file. |
posted by Senthil Kumaran @ 7:42 PM |
|
|