GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle  >  Database security

 Print  |  
Question:  How do you Set Password for Listener.ora???



October 10, 2006 05:46:52 #1
 prakashpichika   Member Since: June 2006    Total Comments: 8 

RE: How do you Set Password for Listener.ora???
 

oracle@localhost> lsnrctl

LSNRCTL> set current_listener LISTENER

Current Listener is LISTENER

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> change_password

Old password:

New password:

Reenter new password:

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

Password changed for LISTENER

The command completed successfully

LSNRCTL> set password

Password:

The command completed successfully

LSNRCTL> stop

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

The command completed successfully

LSNRCTL> exit

Cheers

Ravi Prakash

     

 

Back To Question