Modify the tomcat user password and tomcat User Password

Source: Internet
Author: User

Modify the tomcat user password and tomcat User Password

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/43970307

 

When you need to log on to the tomcat management interface, you need the user name and password. You can set it in the background.

Find the path to the profile tomcat-users.xml, such as D: \ soft \ tomcat6 \ tomcat6 \ conf \ tomcat-users.xml, open the profile tomcat-users.xml in a text editor, find the following information and make changes:

<tomcat-users><!--  <role rolename="tomcat"/>  <role rolename="role1"/>  <user username="tomcat" password="tomcat" roles="tomcat"/>  <user username="both" password="tomcat" roles="tomcat,role1"/>  <user username="role1" password="tomcat" roles="role1"/>-->  <role rolename="manager"/>  <user username="tomcat" password="tomcat" roles="manager"/></tomcat-users>

As shown above, a user with the username tomcat and password tomcat is added and specified as the manager role.

(Supplement: "<! --> "Indicates the annotator. The information in the annotator is the annotation information)

 

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/43970307

 

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.