tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: Admin Username/Password, Where do I set it ?
Date Sun, 10 Dec 2000 22:42:22 GMT
(thanks to Andy on tomcat-dev)

On Sun, 10 Dec 2000, VoidHawk wrote:

> Hi, 
> 
> I just installed Tomcat 3.2 :) 
> 
> Where to I set the username/password for the admin web app?
> 
> 
> Thanks in advance?
> 

---------- Forwarded message ----------
From: Andy <acomaillists@yahoo.com>
To: tomcat-dev@jakarta.apache.org, peterusa@bigpond.com
Date: Sun, 10 Dec 2000 05:13:18 -0500
Subject: Re: username and password for admin tomcat 3.2
Reply-To: tomcat-dev@jakarta.apache.org

peter duong wrote:

> hi,
> i tried to use admin function in tomcat but donot know the initial
> username and password. could you please help ?
> tia

I normally would not reply to this because its in the wrong list
(tomcat-dev as opposed to tomcat-user), but I feel it is enough of a
documentation error that the developers should consider doing something
about it.

I've not got tomcat here (only at work) so excuse any lack of precision
on filenames etc.   If you look at the something-or-other-users.xml file
under
[yourtomcatinstalldir]/conf you'll find a couple example users and
password and their roles.  Add one called "admin" give him a password of
your choosing and whatever other roles plus "admin".   (this part is not
documented anywhere that I could find easily, If I missed it appologize
in advance).   Then go to sever.xml  and change the admin context to be
"trusted".   Now the admin app should work.

-Andy



Mime
View raw message