listener and password [message #237005] |
Fri, 11 May 2007 10:24 |
Anand Ramaswamy
Messages: 111 Registered: January 2005
|
Senior Member |
|
|
Hi All,
I have protected the listener by adding password. Following are the steps:
LSNRCTL>SET SAVE_CONFIG_ON_STOP ON
LSNRCTL> CHANGE_PASSWORD
OLD PASSWORD:
NEW PASSWORD: newPassword
Reenter the new password: newPassword
LSNRCTL>SET PASSWORD
Password: newPassword
LSNRCTL>STOP
The Listener stops successfully. I again start the listener and come out of the LSNRCTL prompt.
After this when I try to stop the listener from the UNIX prompt, it allows without asking for password and the listener stops.
$LSNRCTL STOP myInstance
Can anyone explain why this behaviour? I expect this statement to fail because I am not entering any password.
Thanks in advance
qA
|
|
|
|
|