Modify a user's password

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

Mantis requires its email settings to be correctly set before users can log in because the temporary password is sent via email to the user’s email address. If Mantis' SMTP settings are not configured, configure the password manually by following the steps below:

  • Connect to your MySQL database (via command line or phpMyAdmin).

  • Run the queries below, replacing the USERNAME and PASSWORD placeholders with the appropriate values:

      USE bitnami_mantis;
      UPDATE mantis_user_table SET password=MD5('PASSWORD') where username='USERNAME';

The user should now be able to log in with the password specified.

Last modification April 8, 2020