Question
How to disable the Google Authenticator extension via CLI?
Answer
-
Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).
-
Run the following command to disable the extension (on Windows Server, start a command prompt as an Administrator):
# plesk bin extension --disable google-authenticator
-
To completely remove the extension, run:
# plesk bin extension --uninstall google-authenticator
-
Additional Information
To enable the extension back:
-
In Plesk:
Go to Extensions > My Extensions > Google Authenticator > click More > Enable.
-
In a command-line interface:
Run the command:
# plesk bin extension --enable google-authenticator