PasswordListener

-- ################################################
-- # Creator: Vincent Fenoll
-- # Created: 2011/09/01
-- # Name: PasswordListener
-- ################################################
-- #
-- # Compatible: Oracle 9i 10g 11g
-- #
-- ################################################
-- #
-- # This script protect the listener LISTENER_1  
-- # with a the password xyz
-- ################################################


$>lsnrctl
  set current_listener LISTENER_1
  set save_config_on_stop on
  change_password
  Old password:  
  New password:  xyz
  Reenter new password: xyz
  exit

$>lsnrctl
  set current_listener LISTENER_1
  set password 
  xyz
  stop
  start
  exit

# If you use Grid (or database) Control:
#

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.