You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by VoidHawk <vo...@blueyonder.co.uk> on 2000/12/10 23:15:51 UTC

Admin Username/Password, Where do I set it ?

Hi, 

I just installed Tomcat 3.2 :) 

Where to I set the username/password for the admin web app?


Thanks in advance?


Re: Admin Username/Password, Where do I set it ?

Posted by Jeff Turner <je...@socialchange.net.au>.
(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 <ac...@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