tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Da Vinci <yullet...@yahoo.com>
Subject Re: username & password for admin & manager
Date Wed, 16 Jul 2003 05:22:11 GMT
I'm sorry, i try this already, but still doesn't work. is there any other way?
And how to configure (set catalina home) at linux?


--- Reginald Oake <regoake@assistants.ca> wrote:
> To set up a username and password for the manager account you need to go
> into $CATALINA_HOME/conf (or for Windows %CATALINA_HOME%\conf) and add
> the following line to your tomcat-users.xml file.
> 
> 	<user username="xxxx" password="xxxx" roles="manager"/>
> 
> Of course you should replace the xxxx with the username and password you
> want to use and this line goes between the tomcat-users start and end
> tags.
> 
> Your tomcat-users.xml should look something like this when you are done.
> 
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
>   <role rolename="tomcat"/>
>   <role rolename="role1"/>
>   <role rolename="manager"/>
>   <user username="tomcat" password="tomcat" roles="tomcat"/>
>   <user username="xxxx" password="xxxx" roles="manager"/>
>   <user username="role1" password="tomcat" roles="role1"/>
>   <user username="both" password="tomcat" roles="tomcat,role1"/>
> </tomcat-users>
> 
> After this, restart Tomcat and you should be able to access the
> management application.
> 
> Hope this helps.
> 
> 
> Reg
> 
> 
> 
> On Tue, 2003-07-15 at 20:23, Da Vinci wrote:
> > i use tomcat 4.1.24. there is role admin or manager, and no user with role admin
or manager in
> > $CATALINA_HOME/conf/tomcat-users.xml. so how can i configure the tomcat administration
and
> tomcat
> > manager? how can i get the username and password admin & manager?
> > 
> > =====
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 


=====


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message