I'm running Tomcat 9 on Debian 12 to run Apache Guacamole and am trying
to get the tomcat-users.xml file to take so that I can manage the
service from the Tomcat Manager. So far I have not had luck getting the
login dialog to the manager to accept any xml file I give it.

First, where should I be putting the tomcat-users.xml file? Is there a
special place I should be putting this file?

Second, what is wrong with this config?

<?xml version="1.0" encoding="UTF-8"?>

<tomcat-users xmlns="http://tomcat.apache.org/xml";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
               xsi:schemaLocation="http://tomcat.apache.org/xml
tomcat-users.xsd"
               version="1.0">

     <role rolename="admin-gui" />
     <role rolename="manager-gui"/>
     <user username="admin" password="admin" roles="manager-gui,admin-gui"/>

</tomcat-users>

The above isn't what I would call ideal credentials -- it's just
something to test with, to get going, etc. If any of you have advice for
getting this working I'd sure appreciate it.

Thanks


*Confidentiality Notice* This email message may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), you 
are hereby notified that any dissemination, distribution or copying of this 
email message is strictly prohibited. If you have received this email in error, 
please immediately notify the sender and delete this email message from your 
computer.

Reply via email to