Saturday, 5 January 2013

What Is Tomcat Default Administrator Password ?

Problem:

Is there default administrator Username and Password for Tomcat?

Solution:

You can find the roles and credentials of roles in `tomcat-users.xml`.

By default the Tomcat doesn't enable admin or manager access.

Below is the code:








So, by default no roles are created by Tomcat.

You can create the roles manually. Below is the sample code to enable admin and manager roles.




  
  
  



Paste this code in "%TOMCAT_FOLDER%/conf/tomcat-users.xml" and restart the server. Now, you can access Tomcat admin or manager with username="admin" and password="admin".




1 comment:

  1. Very useful information that you have shared and it is very useful to me. Thanks for sharing the information with us.
    kindle mobi formatting services

    ReplyDelete