How to add admin users to Apache Tomat
Create an Admin User
To use the Tomcat Administration and Management tools, you must create a user with “admin” and “manager” roles. To do this, follow these steps:
Step 1 : Open the tomcat-users.xml file in theĀ CATALINA_home/conf directory with a text editor.
Step 2 : In this file, add the following entries to create the “admin” and “manager” roles:
<role rolename="manager"/><role rolename="admin"/>3. In addition, add the following entry to create the “admin” user:
<user username="admin" password="myAdminPwd"fullName="Administrator" roles="admin,manager"/>4. Save and close the file.
5. Restart tomcat