Cannot disable Multi-Factor Authentication in Google Authenticator

Created:

2016-11-16 13:17:40 UTC

Modified:

2017-08-15 11:09:21 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Cannot disable Multi-Factor Authentication in Google Authenticator

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  • Multi-Factor Authentication is turned on for a domain. Customer is unable to validate authentication as mobile phone was lost. Now it is required to turn off Multi-Factor Authentication, so that no phone device would be involved into the login at Google Authenticator.

  • Under administrator account, Multi-Factor Authentication is turned off in Google Authenticator for the domain: Plesk > Google Authenticator > Enable Multi-Factor Authentication option is not checked.

Cause

This is Plesk internal issue with ID #PPPM-4485 , the fix is considered to be included into the next Plesk updates.

Workaround

  1. Create a backup of ModuleSettings table:

    # mysqldump -uadmin -p`cat /etc/psa/.psa.shadow ` psa ModuleSettings > /root/ModuleSettings.sql
  2. Log in to Plesk database:

    # plesk db
  3. Determine Plesk client ID for the domain:

    mysql> select cl_id from domains where name="example.com";
    +-------+

    | cl_id |
    +-------+

    | 26 |
    +-------+

    Replace example.com with domain name in question.

  4. Using cl_id from previous query execute the following:

    mysql> select * from ModuleSettings where name = 'enabled-26';
    +-----------+------------+-------+

    | module_id | name | value |
    +-----------+------------+-------+

    | 9 | enabled-26 | true |
    +-----------+------------+-------+

    where name = enabled-<here_cl_id>

  5. Verify if module_id belongs to Google Authenticator:

    mysql> select name from Modules where id = 9;
    +----------------------+

    | name |
    +----------------------+

    | google-authenticator |
    +----------------------+
  6. Remove record about Google Authenticator for the issued customer:

    mysql> delete from ModuleSettings where name = 'enabled-26';
Have more questions? Submit a request
Please sign in to leave a comment.