How to add user to Tomcat?
Open following file in your favorite editor: CATALINA_HOME/conf/tomcat-users.xml or /usr/local/jakarta/jakarta-tomcat-4.1.31/cinf/tomcat-users.xml Append the following line at second last line: <user name=”Username” password=”secret” roles=”admin,manager”> Restart tomcat. You …