DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:forgotten_password

This is an old revision of the document!


Forgotten Password

:?: I forgot my password. What can I do?

:!: If the admin didn't disable any necessary functions, you can go to the login page and click on “Send new password” (see How to login for more information). If this doesn't work, ask the admin to give you a new password in the UserManager.

:?: But sending a new password doesn't work and I am the admin and cannot access the User Manager. How can I retrieve my password and get back my admin permissions?

:!: You can

  1. register a new user
  2. open conf/local.php
    • change the superuser to your newly registered user
      $conf['superuser'] = 'foo';
    • or if the superuser is a group like
      $conf['superuser'] = '@admin';

      just remember its name

      1. open conf/acl.auth.php
      2. search the line that begins with the name of your newly registered user (it should be the last line)
      3. and add the name of the superuser group to the very end of that line, like
        ...:user,admin
  3. then you can login as the new user
  4. change the password of your old user
  5. logout
  6. login again as the old user
  7. and delete the new one again (not necessary, but advisable if you're concerned about security)
faq/forgotten_password.1247325381.txt.gz · Last modified: 2009-07-11 17:16 by ach

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki