1
2
3
4
nano /etc/tomcat7/tomcat-users.xml

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