0

I did the same install in 2 pcs, both have the default tomcat-users.xml , one (with administrator rights) doesn't ask for password/user when trying to access localhost:8080, the other one (without administrator rights) asks for a username and password.

Why does that happens? Should I config manually the tomcat-users.xml with administrator role?

Screenshot:

enter image description here

Pablo
  • 534
  • 11
  • 31

1 Answers1

0

I don't know about this kind of behaviour but when I installed it, it didn't have any default user. I added user with required permissions. For adding new user you can follow these

https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access

Or these

How do I use Apache tomcat 7 built in Host Manager gui?

Instructions.

Community
  • 1
  • 1
Rehan Haider
  • 893
  • 11
  • 26