为监听器设置口令权限---Configuring Password Authentication for the Listener

本文主要是介绍为监听器设置口令权限---Configuring Password Authentication for the Listener,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

文档地址:http://docs.oracle.com/cd/B19306_01/network.102/b14212/listenercfg.htm#i490255

 

Configuring Password Authentication for the Listener

Note:

If you are administering the listener remotely over an insecurenetwork and require maximum security, configure the listener with asecure protocol address that uses the TCP/IP with SSL protocol. If the listener hasmultiple protocol addresses, ensure that the TCP/IP with SSLprotocol address is listed first in the listener.orafile.

It is important to provide security through a passwordfor the listener. With a password, privileged operations, such assaving configuration changes or stopping the listener, used fromthe Listener Control utility will require a password.

--为监听器提供一个密码设置是非常重要的。使用密码,可以验证有权限的操作,例如保存改变的配置或者终止监听器,可以使用监听器工具来修改需要的一个密码。

 

Use the Listener Control utility's CHANGE_PASSWORD command or OracleEnterprise Manager to set or modify an encrypted password in thePASSWORDS_listener_nameparameter in the listener.ora file. If thePASSWORDS_listener_name parameter is setto an unencrypted password, you must manually remove it from thelistener.ora file prior to modifying it. If theunencrypted password is not removed, you will be unable tosuccessfully set an encrypted password.

To set or modify an encrypted password with Oracle EnterpriseManager:

  1. Access the Net Services Administration page in Oracle EnterpriseManager.

    See Also:

    "OracleEnterprise Manager"
  2. Select Listeners from the Administerlist, and then select the Oracle home that contains the location ofthe configuration files.

  3. Click Go.

    The Listeners page appears.

  4. Select a listener, and then click Edit.

    The Edit Listeners page appears.

  5. Click the Authentication tab.

  6. Click Require a password for listeneroperations.

  7. Click OK.

    Note:

    You can also configure static service information with Oracle NetManager. See topic Configure Password Authentication for theListener in the online Help for further instruction.

To set a new encrypted password with theCHANGE_PASSWORD command, issue the following commandsfrom the Listener Control utility:

 
LSNRCTL> CHANGE_PASSWORD
Old password: 
New password: takd01
Reenter new password: takd01
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tpc)(HOST=sales-server)(PORT=1521)))
Password changed for LISTENER
The command completed successfully

 
LSNRCTL> SAVE_CONFIGConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sales-server)(PORT=1521)))
Saved LISTENER configuration parameters.
Listener Parameter File   /oracle/network/admin/listener.ora
Old Parameter File   /oracle/network/admin/listener.bak
The command completed successfully
 Bold denotes user input. The password is not displayed when entered.To modify an encrypted password with the CHANGE_PASSWORD command:
LSNRCTL> SET PASSWORD
Password: takd01
The command completed successfully
LSNRCTL> CHANGE_PASSWORD
Old password: takd01
New password: smd01
Reenter new password: smd01
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tpc)(HOST=sales-server)(PORT=1521)))
Password changed for LISTENER
The command completed successfully
LSNRCTL> SAVE_CONFIG
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sales-server)(PORT=1521)))
Saved LISTENER configuration parameters.
Listener Parameter File   /oracle/network/admin/listener.ora
Old Parameter File   /oracle/network/admin/listener.bak
The command completed successfully

而SET PASSWORD 的作用是密码验证用的,如你设置好了密码后,如果要停止监听,则需要先用SET PASSWORD输入正确的密码。如果为listener 设置了口令,那么在lsnrctl 中执行stop,save_config(第一次保存设置的时候,是不需要set password的,因为在没设置密码前,密码为空的。当第一次密码设置成功后,密码功能启用了,执行此命令,需要set password来录入现在的密码才能保存设置,否则返回错误信息)命令操作不论是local 还是remote listener 时都需要通过setpassword 来输入口令,只有口令正确才能执行上述命令。
 

这篇关于为监听器设置口令权限---Configuring Password Authentication for the Listener的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1030629

相关文章

PyCharm如何设置新建文件默认为LF换行符

《PyCharm如何设置新建文件默认为LF换行符》:本文主要介绍PyCharm如何设置新建文件默认为LF换行符问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录PyCharm设置新建文件默认为LF换行符设置换行符修改换行符总结PyCharm设置新建文件默认为LF

Linux上设置Ollama服务配置(常用环境变量)

《Linux上设置Ollama服务配置(常用环境变量)》本文主要介绍了Linux上设置Ollama服务配置(常用环境变量),Ollama提供了多种环境变量供配置,如调试模式、模型目录等,下面就来介绍一... 目录在 linux 上设置环境变量配置 OllamPOgxSRJfa手动安装安装特定版本查看日志在

SpringSecurity 认证、注销、权限控制功能(注销、记住密码、自定义登入页)

《SpringSecurity认证、注销、权限控制功能(注销、记住密码、自定义登入页)》SpringSecurity是一个强大的Java框架,用于保护应用程序的安全性,它提供了一套全面的安全解决方案... 目录简介认识Spring Security“认证”(Authentication)“授权” (Auth

Ubuntu中Nginx虚拟主机设置的项目实践

《Ubuntu中Nginx虚拟主机设置的项目实践》通过配置虚拟主机,可以在同一台服务器上运行多个独立的网站,本文主要介绍了Ubuntu中Nginx虚拟主机设置的项目实践,具有一定的参考价值,感兴趣的可... 目录简介安装 Nginx创建虚拟主机1. 创建网站目录2. 创建默认索引文件3. 配置 Nginx4

Spring Security注解方式权限控制过程

《SpringSecurity注解方式权限控制过程》:本文主要介绍SpringSecurity注解方式权限控制过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、摘要二、实现步骤2.1 在配置类中添加权限注解的支持2.2 创建Controller类2.3 Us

如何关闭 Mac 触发角功能或设置修饰键? mac电脑防止误触设置技巧

《如何关闭Mac触发角功能或设置修饰键?mac电脑防止误触设置技巧》从Windows换到iOS大半年来,触发角是我觉得值得吹爆的MacBook效率神器,成为一大说服理由,下面我们就来看看mac电... MAC 的「触发角」功能虽然提高了效率,但过于灵敏也让不少用户感到头疼。特别是在关键时刻,一不小心就可能触

Redis实现RBAC权限管理

《Redis实现RBAC权限管理》本文主要介绍了Redis实现RBAC权限管理,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 目录1. 什么是 RBAC?2. 为什么使用 Redis 实现 RBAC?3. 设计 RBAC 数据结构

Nginx配置系统服务&设置环境变量方式

《Nginx配置系统服务&设置环境变量方式》本文介绍了如何将Nginx配置为系统服务并设置环境变量,以便更方便地对Nginx进行操作,通过配置系统服务,可以使用系统命令来启动、停止或重新加载Nginx... 目录1.Nginx操作问题2.配置系统服android务3.设置环境变量总结1.Nginx操作问题

Vue中动态权限到按钮的完整实现方案详解

《Vue中动态权限到按钮的完整实现方案详解》这篇文章主要为大家详细介绍了Vue如何在现有方案的基础上加入对路由的增、删、改、查权限控制,感兴趣的小伙伴可以跟随小编一起学习一下... 目录一、数据库设计扩展1.1 修改路由表(routes)1.2 修改角色与路由权限表(role_routes)二、后端接口设计

grom设置全局日志实现执行并打印sql语句

《grom设置全局日志实现执行并打印sql语句》本文主要介绍了grom设置全局日志实现执行并打印sql语句,包括设置日志级别、实现自定义Logger接口以及如何使用GORM的默认logger,通过这些... 目录gorm中的自定义日志gorm中日志的其他操作日志级别Debug自定义 Loggergorm中的