What Do I Do If I Cannot Enable 2FA?

Symptoms

  • There are no servers displayed in the 2FA list.
  • 2FA has been enabled but not taken effect.
  • 2FA fails to be enabled.

Possible Causes

  • Server protection is not enabled.
  • 2FA settings have not taken effect. After 2FA is enabled, it takes about 5 minutes for the settings to take effect.
  • For a Linux server, Key pair is selected as the login mode.
  • 2FA conflicts with G01 or 360 Guard (server edition).
  • The SELinux firewall is not disabled.

Solution

  1. Check whether HSS has been enabled for the server for which you want to use 2FA.

    • If it has, go to Step 2.
    • If it has not, enable HSS first.

  2. Check whether it has been 5 minutes since you enabled 2FA.

    • If it has, go to Step 3.
    • If it has not, wait for 5 minutes and check whether 2FA takes effect.

  3. Check whether your server is a Linux server with Key pair selected as its login mode.

    • If it is, disable the Key pair login mode and enable the Password login mode. For details, see "How Do I Change the Login Mode of a Linux ECS from Key Login to Password Login?"
    • If it is not, go to Step 4.

  4. Check whether you have stopped G01 and 360 Guard (server edition) (if any) on your server.

    • If you have, go to Step 5.
    • If you have not, stop the software.

  5. Check whether the SELinux firewall is disabled on your server.

    • If it is, go to Step 6.
    • If it is not, run either of the following commands to disable it.
      • To temporarily disable the SELinux firewall, run the following command:

        setenfore 0 #Temporarily disable

      • To permanently disable the SELinux firewall, run the following command:

        vi /etc/selinux config

        selinux=disabled #Permanently disable

  6. Contact technical support.