lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-FEB-2009 02:32:55
Copyright (c) 1991, 2005, Oracle.All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> change_password
Old password:
New password:
Reenter new password:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracletest)(PORT=1521)))
Password changed for LISTENER
The command completed successfully
LSNRCTL> set password
Password:
The command completed successfully
LSNRCTL> save_config
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracletest)(PORT=1521)))
No changes to save for LISTENER.
The command completed successfully
LSNRCTL> exit
更改密码完毕,按照常理来说,如果要关闭监听器的话,没有密码肯地是不行的
lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-FEB-2009 02:33:51
Copyright (c) 1991, 2005, Oracle.All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracletest)(PORT=1521)))
The command completed successfully