tomcat/tomcat-9.0-tomcat-users-webapp.patch

20 lines
896 B
Diff

Index: apache-tomcat-9.0.82-src/conf/tomcat-users.xml
===================================================================
--- apache-tomcat-9.0.82-src.orig/conf/tomcat-users.xml
+++ apache-tomcat-9.0.82-src/conf/tomcat-users.xml
@@ -53,4 +53,14 @@
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
-->
+
+<!-- <role rolename="admin"/> -->
+<!-- <role rolename="admin-gui"/> -->
+<!-- <role rolename="admin-script"/> -->
+<!-- <role rolename="manager"/> -->
+<!-- <role rolename="manager-gui"/> -->
+<!-- <role rolename="manager-script"/> -->
+<!-- <role rolename="manager-jmx"/> -->
+<!-- <role rolename="manager-status"/> -->
+<!-- <user name="admin" password="adminadmin" roles="admin,manager,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" /> -->
</tomcat-users>