tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop kumar V <anoopkum...@gmail.com>
Subject Re: username & password
Date Wed, 04 May 2005 21:49:28 GMT
> <role rolename="tomcat"/>
> <role rolename="role1"/>
> <role rolename="manager"/>
> <role rolename="admin"/>
> <user username="root" password="w8woord"
> roles="standard,tomcat,admin,manager"/>

I dont think 'standard' is a role that has been defined - so maybe for 
debugging purposes remove that and check - i just verified and adding a line 
to the default tomcat-users.xml file helps a lot!

Anoop

On 5/4/05, Mark Thomas <markt@apache.org> wrote:
> 
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
Thanks and best regards,
Anoop

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message