[opencms-dev] Admin password broken - how to fix?

Robert Petermeier robert2.0 at gmx.de
Mon Feb 28 23:33:21 CET 2005


Graham Leggett schrieb:
> 
> How do you reset the Admin password?

Have a look at the package org.opencms.security:

I_CmsPasswordHandler#digest(String, String, String)
CmsDefaultPasswordHandler#digest(String, String, String)

A message digest is computed from the password by using MD5, the result 
is then Base64 encoded. You could do just that with a default password 
and put the result "manually" into the DB.


Regards,
Robert



More information about the opencms-dev mailing list