Tomcat User Administration
Manage Tomcat users.
The Tomcat administration and manager application does not provide a default
login. Edit the $CATALINA_HOME/conf/tomcat-users.xml
file. This file
contains an XML <user> for each user that will display the username and password
used by the admin to log in to Tomcat and the role names to which the admin user is
associated with.
For example, <user name="admin" password="admin"
roles="standard,manager" />
- Add the manager role to any one of the existing username/password combinations as shown in the preceding example.
- Use the same username/password to which the manager role is assigned to access the Tomcat Application Manager.
- If the Tomcat server is already running, it requires a re-start after the preceding configuration is done.