Change default OS password

Dradis Professional runs on Debian OS, with each new OVA generated with the latest LTS version of Debian. As such, if you want to change the password for the dradispro user, you can do so using passwd:

sudo passwd username

Change default database credentials

Updating the database credentials requires a few more commands.

  1. In your terminal as dradispro:

    $ cd /opt/dradispro/dradispro/current/
    $ RAILS_ENV=production bundle exec rails dbconsole
    Enter password:

    Enter the default password.

  2. In the MariaDB console, run the following:
    > SET PASSWORD FOR 'dradispro_db'@'localhost' = PASSWORD('new_password');

    Replace new_password with the desired password.

  3. Lastly, the database.yml needs to be updated with the new password.
    1. Open the file /opt/dradispro/dradispro/current/config/database.yml
    2. Edit line 6 with the new password:
      password: new_password
    3. Save the file and restart the server with:
      $ god load /etc/god.d/dradispro-puma.god
      $ god restart

    Now you're set with your own instance passwords.


Next help article: Change default CIC password →

Seven Strategies To Differentiate Your Cybersecurity Consultancy

You don’t need to reinvent the wheel to stand out from other cybersecurity consultancies. Often, it's about doing the simple things better, and clearly communicating what sets you apart.

  • Tell your story better
  • Improve your testimonials and case studies
  • Build strategic partnerships

Your email is kept private. We don't do the spam thing.