Hello,
Guys It's too easy to How to add User into Tomcat...
You have to just follow few mentioned steps below to do so. 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 you have to append the following line at second last line.
<user name="Username" password="secret" roles="admin,manager"/>
Then make sure that you restart tomcat, Then you can easily access or able to login to tomcat with
http://IP:8080/manager/html
That's it.. I hope this will help . Do suggest if you have any suggestion or upgraded way of doing the same.