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:


Microsoft to start force-upgrading Windows 22H2 systems next month

Category: Microsoft|Sep 10, 2024 | Author: Admin

Mozilla extends Firefox support on unsupported Windows versions to March 2025

Category: IT|Sep 9, 2024 | Author: Admin

Apache fixes critical OFBiz remote code execution vulnerability

Category: IT|Sep 8, 2024 | Author: Admin

SonicWall SSLVPN access control flaw is now exploited in attacks

Category: IT|Sep 7, 2024 | Author: Admin

Microsoft Office 2024 to disable ActiveX controls by default

Category: Microsoft|Sep 6, 2024 | Author: Admin

LiteSpeed Cache bug exposes 6 million WordPress sites to takeover attacks

Category: IT|Sep 5, 2024 | Author: Admin

Cisco warns of backdoor admin account in Smart Licensing Utility

Category: IT|Sep 4, 2024 | Author: Admin

D-Link says it is not fixing four RCE flaws in DIR-846W routers

Category: IT|Sep 3, 2024 | Author: Admin

The Google Play Store can finally update multiple apps at the same time

Category: Google|Sep 2, 2024 | Author: Admin

Now the iPhone buttons don't work

Category: Apple|Sep 1, 2024 | Author: Admin

Some Android smartphones have been found to contain a hidden security vulnerability

Category: General|Aug 31, 2024 | Author: Admin

Over 200 million users a week

Category: Apple|Aug 30, 2024 | Author: Admin

Chrome will redact credit cards, passwords when you share Android screen

Category: General|Aug 29, 2024 | Author: Admin

Google increases Chrome bug bounty rewards up to $250,000

Category: Google|Aug 28, 2024 | Author: Admin

Microsoft: Exchange Online mistakenly tags emails as malware

Category: Microsoft|Aug 27, 2024 | Author: Admin
more