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, run the following commands

 

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

to enter 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 below:

 

[[email protected] ~]# 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:


All versions of Windows are exposed

Category: Microsoft|Sep 25, 2021 | Author: Admin

Android's underappreciated upgrade advantage

Category: Google|Sep 24, 2021 | Author: Admin

No Electricity? A New Cooling System Uses Sunlight and Saltwater

Category: General|Sep 23, 2021 | Author: Admin

Slack begins rolling out video and audio message ‘clips’

Category: General|Sep 22, 2021 | Author: Admin

Roku's free OS 10.5 lets you dictate passwords, fixes pesky sound lags on headphones

Category: IT|Sep 21, 2021 | Author: Admin

Some good news and some strange news from Apple

Category: Apple|Sep 20, 2021 | Author: Admin

New Windows security updates break network printing

Category: Microsoft|Sep 19, 2021 | Author: Admin

Sent 700tb over 4 km of laser technology

Category: IT|Sep 18, 2021 | Author: Admin

'Massive' transatlantic data cable landed on beach in Bude

Category: Google|Sep 17, 2021 | Author: Admin

YouTube shuts down Discord music bot ‘Rythm’

Category: Google|Sep 16, 2021 | Author: Admin

Facebook's secret rules differentiate between the "elite" and most people

Category: General|Sep 15, 2021 | Author: Admin

Apple suddenly had to crisis-update the iPhone and Mac

Category: Apple|Sep 14, 2021 | Author: Admin

Epic is blocked forever on all Apple platforms

Category: Apple|Sep 13, 2021 | Author: Admin

NVIDIA To Launch GeForce RTX 30 SUPER ‘Ampere Refresh’ In January 2022, GeForce RTX 40 ‘Ada Lovelace’ GPUs in October 2022

Category: General|Sep 12, 2021 | Author: Admin

3 smart shortcuts for a curiously hidden Chrome OS command

Category: Google|Sep 11, 2021 | Author: Admin
more