Using FogBugz On Demand? We've recently rolled out a new sidebar as part of taking FogBugz forward. Please see this article for details on what's new, what's changed, and where you can find all your favorite things.

Oh no! I’ve lost the password to the administrator account in FogBugz, and the Forgot Password link isn’t working! What can I do?

If you are using FogBugz On Demand, disregard this guide and contact us. This article is meant for Licensed FogBugz.

You will need direct database access to follow these instructions. In Windows, you can find the location of your FogBugz database by using regedit and looking at the value for sConnectionString in the registry under HKEY_LOCAL_MACHINE\Software\Fog Creek Software\FogBugz\[path to your install] (or HKEY_LOCAL_MACHINE\Software\Wow6432Node\Fog Creek Software\FogBugz\[path to your install] on a 64-bit system if FogBugz runs in 32-bit mode). In Linux/Unix, find the key in your /opt/fogbugz/Accessories/ file.

If you have lost the password to all the administrator accounts in FogBugz or can otherwise not log in with them, follow these instructions to get back in.

  1. Run the following query in the FogBugz database:
    UPDATE Setting SET sValue = '0' WHERE sKey = 'fPasswordEnable';
    UPDATE Setting SET sValue = '0' WHERE sKey = 'iAuthType';At this point FogBugz will allow anyone to log on without a password.
  2. Using a web browser, log on to your FogBugz administrator account
  3. In FogBugz, go to Admin -> Site Configuration and click on the Authentication tab
  4. Change the log on method back to what you used previously
    • For LDAP or Active Directory, choose the appropriate tab, verify your settings and hit OK
    • For passwords stored in the FogBugz database, change the drop-down to require passwords again to secure your site.

You can now reset your password or fix your LDAP/AD settings as needed.