Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
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
Comments
1 comment
This was a lifesaver! My phone crashed and I had to do a full wipe in recovery mode which cleared the authenticator codes, and there is no way of getting these back unless you're in plesk but you can't get in as you don't have the codes...
Worked like a charm but you do have to be logged in as root. Type "su -l" and your original login password in Putty to become root...and breathe again!
Please sign in to leave a comment.