Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Tomcat Tutorials: How to create /enable a tomcat user to access tomcat?

Step 1 – Stop your tomcat service

Stop Script – C:\tools\apache-tomcat-9.0.79\bin\shutdown.bat

Step 2 – Go to “conf’ directory of tomcat home path.

e.g – C:\tools\apache-tomcat-9.0.79\conf

Step 3 – Open up a file “tomcat-users.xml” and add following lines in the file as per the image below; Make sure your remember username and password

Step 4 – Start a Tomcat

Start script – C:\tools\apache-tomcat-9.0.79\bin\startup.bat

Step 5 – Validate a user by accessing Manager app or Host Manager.

Example of

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x