Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • scp with ssh2 Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • UTL_FILE test program Oracle
  • Error Handling in Proc Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Sending email with file attachment. Linux/Unix
  • Database logon trigger issue Oracle
  • tab.sql Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Paste command syntax Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle

Implementing Listener Security

Posted on 08-Jul-2009 By Admin No Comments on Implementing Listener Security

Step:1

======

Do following steps to implement encrypted listener password.

$ lsnrctl

LSNRCTL> set current_listener LISTENER

LSNRCTL>set save_config_on_stop on

LSNRCTL> change_password

Old password:

New password: e1

Reenter new password: e1

LSNRCTL> set password

Password: e1

LSNRCTL> stop

Step:2

======

Check your listener.ora file

Entries similar to the following should have been added to your listener.ora

automatically.

SAVE_CONFIG_ON_STOP_listener1 = ON

PASSWORDS_listener1 = 2D6C48144CF753AC

Step:3

======

Additionally, to prevent altering the running listener configuration, you can set the following parameter in the listener.ora file:

ADMIN_RESTRICTIONS_listener_name=ON

==========================

Script to stop listener using script.

————————————-

#!/bin/sh

lsnrctl < EOF
set current_listener listener_name

set password encrypted_password

stop

exit

EOF

Oracle, SQL scripts

Post navigation

Previous Post: Implementing Listener Security
Next Post: run this before doing any dbchange pvm_pre_change.sql

Related Posts

  • lck.sql Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Export Oracle data and Compress at same time Oracle
  • crontab syntax Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Nice notes on wait events Oracle
  • Rman Notes -1 Oracle
  • Creating a Container Database using dbaascli Uncategorized
  • FGA Part-I Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme