Difference between revisions of "Tomcat users management"
(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...") |
(No difference)
|
Revision as of 17:12, 31 March 2015
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" />