
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 …