From: geraldo netto <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master
update 0001-configure-web-admin-user.patch
update the patch 0001-configure-web-admin-user.patch in order to work on
tomcat 9
the change only adds a new user with manager-gui on second-last line
instead of removing the past lines and then add the user
in any case, the changes on tomcat-user.xml must be done in order
once all 3 patches touch the same line
Signed-off-by: geraldo netto <[email protected]>
Message-Id: <[email protected]>
---
diff --git a/tomcat/patches/perf/0001-configure-web-admin-user.patch
b/tomcat/patches/perf/0001-configure-web-admin-user.patch
--- a/tomcat/patches/perf/0001-configure-web-admin-user.patch
+++ b/tomcat/patches/perf/0001-configure-web-admin-user.patch
@@ -13,18 +13,11 @@ diff --git a/conf/tomcat-users.xml
b/conf/tomcat-users.xml
index 7f022ff..2f9579c 100644
--- a/conf/tomcat-users.xml
+++ b/conf/tomcat-users.xml
-@@ -26,11 +26,6 @@
- and thus are ignored when reading this file. Do not forget to remove
- <!.. ..> that surrounds them.
+@@ -41,4 +41,5 @@
+ <user username="both" password="<must-be-changed>"
roles="tomcat,role1"/>
+ <user username="role1" password="<must-be-changed>" roles="role1"/>
-->
--<!--
- <role rolename="tomcat"/>
-- <role rolename="role1"/>
-- <user username="tomcat" password="tomcat" roles="tomcat"/>
-- <user username="both" password="tomcat" roles="tomcat,role1"/>
-- <user username="role1" password="tomcat" roles="role1"/>
---->
-+ <user username="tomcat" password="tomcat" roles="manager-gui"/>
++<user username="tomcat" password="tomcat" roles="manager-gui"/>
</tomcat-users>
--
1.8.1.2
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.