How to Reset Password for "admin" Account

The page describes resetting password for the "admin" account to value "admin" (without quotes) if the original one is forgotten.

Prerequisite:

  • Access to YSoft SafeQ 6 database with db_datareader and db_datawriter privileges.

Steps:

  • Run the following SQL queries on the SQDB6 database

    SQL
    UPDATE tenant_1.users SET pass = '$2a$06$sGcK/lmNNPJ8C8xe6pgBSek1BFsDCrcjBaqdhlJ6JZB0/GDNbZyge' WHERE login = 'admin' AND flag = 1;
    UPDATE cluster_mngmt.users SET pass = '$2a$06$sGcK/lmNNPJ8C8xe6pgBSek1BFsDCrcjBaqdhlJ6JZB0/GDNbZyge' WHERE login = 'admin';
    

In multi-tenant environment the query should be launched on a tenant where you need to reset the password, e.g. tenant_2.