Forum archive
"Lost" Password to Deki Wiki
I searched the forum for related issues, but nothing seemed to match exactly what I'm experiencing. That said, I seem to have locked myself out of the default Admin account for the Wiki on our recently set up Deki Appliance. Attempting to login as Admin returns an "you input an invalid password" error.
I've been logging in and out of the server all day with no issue, and I know the password I am using is correct, but still no dice, and the reset password email never arrives when sent so I am unable to reset the password this way.
I still have root access to everything else (SSH, Webmin, PHPMyAdmin, etc), so I'm certain it can be reset through PHPMA, I just don't have the knowledge in which to do so without a little help.
I know you've already solved this, but if anyone else comes across this post I thought I'd add my 2 cents as I'm in the middle of adding inithooks to the 11.0 release to set passwords and other configurations (and had to figure this out).
Mindtouch Core (deki) as well as MediaWiki create the password hash by:
This is what that cryptic explanation looks like in python:
import hashlib hashpass = hashlib.md5(password).hexdigest() hashpass = hashlib.md5("1-" + hashpass).hexdigest() # userid 1I hope this helps someone...