tomcat设置登陆用户名密码
2017-04-13 13:44
926 查看
在<tomcat-users>之间添加
用户名admin,密码都是admin123456
效果:
<role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="admin"/> <user password="admin123456" roles="manager-gui,manager-script,admin" username="admin"/>
用户名admin,密码都是admin123456
效果:
<tomcat-users> <!-- NOTE: By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. It is strongly recommended that you do NOT use one of the users in the commented out section below since they are intended for use with the examples web application. --> <!-- NOTE: The sample user and role entries below are intended for use with the examples web application. They are wrapped in a comment and thus are ignored when reading this file. If you wish to configure these users for use with the examples web application, do not forget to remove the <!.. ..> that surrounds them. You will also need to set the passwords to something appropriate. --> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="<must-be-changed>" roles="tomcat"/> <user username="both" password="<must-be-changed>" roles="tomcat,role1"/> <user username="role1" password="<must-be-changed>" roles="role1"/> --> <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="admin"/> <user password="admin" roles="manager-gui,manager-script,admin" username="admin"/> </tomcat-users>
相关文章推荐
- 设置tomcat的登陆用户名和密码
- Tomcat详解:实现SSL配置,日志配置,登陆用户名与密码设置,路径列表
- 安装oracle后,Tomcat 登陆 localhost 要求用户名和密码
- 安装oracle后,Tomcat 登陆 localhost 要求用户名和密码
- tomcat设置用户名密码访问manager的方法
- 免安装版Tomcat 6.0.35碰到的问题 :打开tomcat管理界面时,用户名和密码错误的设置方法
- 安装oracle后,Tomcat 登陆 localhost 要求用户名和密码
- 重新设置Tomcat管理员用户名和密码
- ma5200f设置使用用户名、密码登陆
- 给新手--安装tomcat后用户名和密码设置以及项目怎么部署在tomcat服务器上
- 配置hadoop集群时,ssh无密码登陆设置(各个主机的用户名需要一样)
- 设置SSH自动登陆(免密码,用户名)
- Tomcat 7.0用户名与密码的设置问题
- Tomcat登陆用户名,密码不能进入
- wxWidgets设置登陆窗口用户名和密码的文本提示
- 解决:“开机设置了密码,可开机时却没有提示要输入密码的提示框,还是直接进入系统”和“系统无法让您登陆.请确定您的用户名及域名无误,然后再输入密码.密码的字母必须使用正确的大小写”
- 重新设置tomcat 登录时用户名和密码
- Tomcat 7.0用户名与密码的设置问题
- Tomcat 7.0用户名与密码的设置问题
- tomcat的manager的用户名,密码设置方法