Blame tests/p_tomcat5/1-config_tomcat5.sh

Athmane Madjoudj ebf159
#!/bin/bash
Athmane Madjoudj ebf159
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
t_Log "$0 - Configuring Tomcat 5"
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
sed -i 's/<\/tomcat-users>/<user username="admin" password="admin" roles="admin,manager"\/>\n<\/tomcat-users>/' /etc/tomcat5/tomcat-users.xml 
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
service tomcat5 restart