Skip to main content

Tomcatuser in Debian Jessie mit Tomcat 7

Installierte Pakete:

aptitude install tomcat7 tomcat7-admin tomcat7-common libtomcat7-java openjdk-8-jre-headless openjdk-8-jdk-headless

Die tomcat-users.xml dann wie folgt abändern:

/etc/tomat7/tomcat-users.xml
<tomcat-users>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <role rolename="manager-jmx"/>
  <role rolename="manager-status"/>
  <role rolename="admin-gui"/>
  <role rolename="admin-script"/>
  <user username="admin" password="passwort" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
</tomcat-users>

Abschließend den Tomcat via systemctl restart tomcat7.service neu starten.