tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Cunningham <>
Subject Re: Tomcat5 "Tomcat Administration"
Date Mon, 09 Jun 2003 12:03:15 GMT
it says it here for tomcat 4...

f you have not customized your $CATALINA_HOME/conf/server.xml to select a
different one, Tomcat 4 defaults to an XML-format file stored at
$CATALINA_HOME/conf/tomcat-users.xml, which can be edited with any text editor.
This file contains an XML <user> for each individual user, which might look
something like this:

<user name="craigmcc" password="secret" roles="standard,manager">

which defines the username and password used by this individual to log on, and
the role names he or she is associated with. You can add the manager role to the
comma-delimited roles attriute for one or more existing users, and/or create new
users with that assigned role.

Tim Funk wrote:

> Oddly enough, I just knew it. I think it is the release notes (but not sure).
> But I also have it as a todo in adding to the FAQ.
> -Tim
> David Bo Jensen wrote:
> > Mandag 09 juni 2003 13:24 skrev Tim Funk:
> >
> >>You need to edit conf/tomcat-users.xml and add a user to the manager and
> >>admin role.
> >>
> >>ex:
> >>   <user username="tomcat" password="tomcat" roles="tomcat,admin,manager"/>
> >>
> >>-Tim
> >>
> >
> >  Thanks, you are right. From where did you have that piece of information?
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message