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