Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

16.4.07 06:50 Mediawiki: reset user password ( , , , )

I forgot my mediawiki password again, so I document here how to reset it.
  1. login to mysql database
  2. UPDATE wikiuser
    SET user_password = md5(CONCAT('your_user_id-',md5('new_password')))
    WHERE user_id=your_user_id;
Remark: your_user_id is the id of your user in wikiuser table. First a md5 digest of the new_password is build, then the user_id and "-" are added before it, and the whole is md5 again.

Labels:

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com