The Tomcat Manager and Administration tool requires a user to be setup, users are by default configured in /etc/tomcat5/tomcat-users.xml. Edit the file and add a user, the example below adds 2 roles - admin and manager - and a new admin user with both roles assigned.
Replace the password in the XML below with one of your own, leaving this with a weak password will seriously compromise your site.
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager"/> <role rolename="admin"/> <user username="admin" password="password" roles="admin,manager"/> </tomcat-users>
