I set up DokuWiki on localhost just to collect some notes.

Alas, I am locked out, can't remmember my password and sending a recovery email doesn't work.

Since I will only use this locally, I need only one user, with admin rights, and no password checking. Can that be done by manually editting the config files?


According to this DokuWiki forum thread, you should be able to reset the password to DokuWiki by changing users.auth.php.

For the current stable version of DokuWiki (2018-04-22b "Greebo"), this file is located under the conf folder.

To reset the password, replace any existing admin login with:

admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:DokuWiki Administrator:mail@host.com:admin,user 

Then log in with the username admin and password admin.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.