Tomcat users management
Revision as of 16:12, 31 March 2015 by WikiFreak (talk | contribs) (Created page with "Category:Linux Category:Development Tomcat uses a common configuration file for its management applications. This page explains how to add new roles and users. Edi...")
Tomcat uses a common configuration file for its management applications. This page explains how to add new roles and users.
Edit configuration file:
# Package installation
vim /etc/tomcat7/tomcat-users.xml
# Manual installation, Tomcat server
vim /opt/tomcat-home/conf/tomcat-users.xml
Add / uncomment:
<role rolename="manager" />
<role rolename="admin" />
<role rolename="manager-gui" />
<role rolename="manager-script" />
<role rolename="admin-gui" />
<user username="myUserName" password="myPassword" roles="admin, admin-gui, manager, manager-gui, manager-script" />