[opencms-dev] problem changein Admin password

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Thu Aug 20 11:55:12 CEST 2009


On Thu, Aug 20, 2009 at 02:44:34AM -0700, Mathias Lin | SYSVISION wrote:
> 
> 
> The sql statement doesn't work because the password are stored encrypted.
> You need to encrypt them:
> md5('some_password')

OK, md5() is the trick. But I still cannot log in. Is there a flag I can
reset, to avoid this closing of the account due to too many login
failures?

It seems the system still doesn' let me in.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> Which encryption is being used - you can see in opencms-system.xml, which is
> md5 by default.
> 
>     <passwordhandler class="org.opencms.security.CmsDefaultPasswordHandler">
>       <encoding>UTF-8</encoding>
>       <digest-type>MD5</digest-type>
> 
> 
> 
> 
> Christoph P. Kukulies wrote:
> > 
> > Yesterday I upgraded a site to 7.5.0 (my own playground site) and since it
> > was
> > late in the night I had to leave it with the CMS login banner. Someone
> > must have tried to break in (I changed the Admin password though in the
> > first place) but this morning I could not log in anymore.
> > 
> > I then did an
> > 
> >  update cms_users set user_password='some_password' where
> > user_name='Admin';
> > 
> > in mysql. But I still cannot login. The first login with the new
> > password fails and a subsequent tells me that the account is closed for
> > a certain time and I should try again later.
> > 
> > How can I get arround this?
> > 
> > 
> > 
> 
> 
> -----
> Mathias Lin
> SYSVISION Ltd., China
> http://www.sysvision.com
> -- 
> View this message in context: http://www.nabble.com/problem-changein-Admin-password-tp25058422p25059002.html
> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list