Oracle tnslsnr does not have the disadvantage of setting a password

Source: Internet
Author: User

We all know that the remote Oracle tnslsnr server is generally not configured with the relevant password. If an attacker finds this risk, to disable the Oracle tnslsnr server or set a new password, which will affect the normal use of legal users.

Attackers can also obtain detailed information about the database to launch further attacks. In combination with other vulnerabilities, attackers can even create or modify files on the target system to intrude into the system.

Switch to the Oracle administrator and execute the following commands

 
 
  1. $Oracle_HOME/bin/lsnrctl  
  2. LSNRCTL> change_password  

Old password: <original password> <-- if no password is set, press Enter. Otherwise, enter the original password.

New password: <New password>

Reenter new password: <new password>

 
 
  1. Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=XXX))  
  2. Password changed for LISTENER  
  3. The command completed successfully  
  4. LSNRCTL> set password  

Password: <enter a new Password>

 
 
  1. LSNRCTL> save_config (this step is important. Save the current settings)
  2. Copy [nsfocus aurora]

The above content is a description of Oracle tnslsnr without a password. I hope it will help you in this regard.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.