peter thesing wrote:
What are the default user name and password settings for both admin and manager?
For security reasons there isn't a default user name and password for either of these applications.

How can i enter a custom user name and password to ensure security?
Yes.

Does an upgrade to a higher version of Tomcat solve my login problem
No.

or do i need to modify certain files?
Yes.

> If so which ones...
It depends how Tomcat has been installed. Assuming the standard installation has been altered too much, you will need to edit $CATALINA_BASE/conf/tomcat-users.xml and then *restart Tomcat*. If you are still having trouble, post your server.xml as this will enable us to tell how non-standard the installation is.


> and how?
With any text editor of your choosing.

Although i am able to see the page telling me that all is working do i need to rewrite and recompile the software in order to use it?
No.

FYI.
I am using Apache2 and  a 2.4 Linux kernel
After several dozens of tries this is my tomcat-users.xml

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="root" password="w8woord" roles="standard,tomcat,admin,manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
Looks OK to me. Did you restart Tomcat?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to