Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to add user to Tomcat?

Open following file in your favourite editor :-

$CATALINA_HOME/conf/tomcat-users.xml or
/usr/local/jakarta/jakarta-tomcat-4.1.31/cinf/tomcat-users.xml
and append the following line at second last line.

<user name=”Username” password=”secret” roles=”admin,manager”/>

Restart tomcat .You should be able to login to tomcat with

https://IP:8080/manager/html

Share on Twitter
Share on Facebook