Category: Tutorials|Aug 1, 2021 | Author: Admin

How to disable 2FA CyberPanel 2.1 2021

Share on

This works with CyberPanel V2.03, V2.1, and possibly any new version after this.

for Ubuntu 20.04.1 LTS - CyberPanel v2.03


Please try going to SSH, and run the following commands

 

MYSQL_PWD=`cat /etc/cyberpanel/mysqlPassword` mysql -uroot

to enter the mysql command line

 

use cyberpanel;

to enter the cyberpanel database,

 

UPDATE `loginSystem_administrator` SET `twoFA` = '0' WHERE `loginSystem_administrator`.`id` = 1;

force off 2FA for the admin account.

 

total output should be like the below:

 

[root@test ~]# MYSQL_PWD=`cat /etc/cyberpanel/mysqlPassword` mysql -uroot

 

Welcome to the MariaDB monitor. Commands end with; or \g.


Your MariaDB connection id is 4526


Server version: 10.5.7-MariaDB MariaDB Server

 

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab, and others.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

MariaDB [(none)]> use cyberpanel;

 

Reading table information for completion of table and column names

 

You can turn off this feature to get a quicker startup with -A

 

Database changed


MariaDB [cyberpanel]> UPDATE `loginSystem_administrator` SET `twoFA` = '0' WHERE `loginSystem_administrator`.`id` = 1;

 

Query OK, 0 rows affected (0.001 sec)


Rows matched: 1 Changed: 0 Warnings: 0

 

MariaDB [cyberpanel]>


after that, clean up the browser cache and check again.

Sponsored Ads:

Comments:


Locked out 8 million Telegram users, then this happened

Category: IT|Mar 28, 2024 | Author: Admin

Mac update fixes important bugs

Category: Apple|Mar 27, 2024 | Author: Admin

The Windows Format Dialog Remains Unchanged After 30 Years

Category: Microsoft|Mar 26, 2024 | Author: Admin

Google's new AI search results promotes sites pushing malware, scams

Category: Google|Mar 25, 2024 | Author: Admin

YouTube ordered not to talk about it

Category: IT|Mar 24, 2024 | Author: Admin

It became too difficult for Apple

Category: Apple|Mar 23, 2024 | Author: Admin

Windows 11 Notepad finally gets spellcheck and autocorrect

Category: Microsoft|Mar 22, 2024 | Author: Admin

This is how Android 15 gets better

Category: Google|Mar 21, 2024 | Author: Admin

Warns Apple

Category: Apple|Mar 20, 2024 | Author: Admin

Microsoft again bothers Chrome users with Bing popup ads in Windows

Category: Microsoft|Mar 19, 2024 | Author: Admin

Increased by 164 percent

Category: IT|Mar 18, 2024 | Author: Admin

Anthropic launches its fastest and cheapest AI model yet

Category: IT|Mar 17, 2024 | Author: Admin

What is Darwin AI and how could Apple use its new tech?

Category: Apple|Mar 16, 2024 | Author: Admin

DO NOT update Minecraft!

Category: IT|Mar 15, 2024 | Author: Admin

Did you experience the problem? Now it is fixed

Category: Microsoft|Mar 14, 2024 | Author: Admin
more