Theme
Disabling 2FA for a SuperAdmin account
Since version 6.0, Syncplify Server! supports multiple SuperAdmin accounts, and each of them can be protected with two factor authentication (2FA) through an authenticator app. But what if the out of band device (phone, tablet) that runs your authenticator becomes unusable? There are two ways out.
Method 1: have another SuperAdmin disable it
The easiest and cleanest way is to have a different SuperAdmin account edit yours and switch 2FA off. This is one of the reasons the ability to have multiple SuperAdmins exists.
Method 2: disable it from the command line
If you are an administrator (or sudoer) of the operating system where the software is installed and you have console access to it, you can disable 2FA for a SuperAdmin account from the command line.
Open a terminal as Administrator (Windows) or with sudo (Linux), change directory to the folder where the Syncplify Server! executables are located (C:\Program Files\Syncplify Server! on Windows, /opt/Syncplify/Server/bin on Linux) and run the disable2fa verb of the Web/REST executable.
On Windows:
powershell
.\ss-webrest.exe disable2fa -s your_superadmin_accountOn Linux:
bash
sudo ./ss-webrest disable2fa -s your_superadmin_accountIf you forgot the password as well, the password reset command disables 2FA at the same time, so you only need to run one of the two.
INFO
On v6 the executable is named ss6-webrest and lives in /opt/Syncplify/ServerV6/bin on Linux; on v7 and v8 it is ss-webrest. The verb and its parameter are the same in every version.