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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > ===== __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]