Re: admin username-password

2001-02-20 Thread Sandor Spruit


Dario,

On Tuesday, February 20, 2001, 10:58:02 AM, you wrote:

Dario I try to use Context Admin
Dario (http://localhost:8080/admin/index.html), it ask me username
Dario and password, can you say me which is the default username and
Dario password for administration?

Though this is really a RTFM question: check tomcat-users.xml for a
user with role 'admin'. When there's none, add one :)

Cheers,
Sandor

-- 
ir A.G.L. Spruit, Utrecht University, the Netherlands
Institute of information and computing sciences
"There is a bit of magic in everything, and then some
loss to even things out" (from: Lou Reed, "Magic and Loss")



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




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

2000-12-10 Thread Jeff Turner

(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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: Sun, 10 Dec 2000 05:13:18 -0500
Subject: Re: username and password for admin tomcat 3.2
Reply-To: [EMAIL PROTECTED]

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