Bopana,

Make sure your tomcat-users.xml contains at least the following line:

<role rolename="admin"/>

and the following line as well:

<user username="admin" password="manager" roles="admin"/>

The field 'password' in the example above is set to 'manager' but you
can change it to whatever value you want.

Also, if you want to be able to use the manager servlet you will need to
add another role called 'manager' and to add that role to the user
'admin' as follows:

<role rolename="manager"/>
<user username="admin" password="manager" roles="admin,manager"/>

/JM
-----Original Message-----
From: N.B.Bopanna [mailto:[EMAIL PROTECTED] 
Sent: 25 September 2003 12:58
To: Tomcat Users List
Subject: Re: Tomcat Admin Password

Hi All,
Thanks for ur response.
My tomcat-user.xml.is as follows,

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="role1"/>
  <role rolename="tomcat"/>
  <user username="role1" password="tomcat" roles="role1"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>

I can't login as  user=role1 , password=tomcat
or any ther usernames,passwords in the above file
Bopanna





-----Original Message-----
From: "Nikola Milutinovic" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Thu, 25 Sep 2003 13:38:27 +0200
Subject: Re: Tomcat Admin Password

> > Hi All,
> > I can't  log as administrator in to Tomcat 4.1.24 using 
> > 
> >  username : admin 
> >  password : setup
> > 
> > is this the default password?
> 
> There is no default password, you have to enter your own in
> tomcat-users.xml
> 
> Nix.



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




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

Reply via email to