Tutorials

Aug 1, 2021 CyberPanel tutorial 2FA disable disable 2fa 2021 v2.1 2.1

How to disable 2FA CyberPanel 2.1 2021

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.

load more

You were not meant to see this

Category: General|Mar 18, 2022 | Author: Admin

OpenSSL squarely rooted by cert parsing bug

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

Former Nintendo boss skin braids Meta: - They do nothing innovative

Category: General|Mar 16, 2022 | Author: Admin

That's why Ubisoft was down: "We were hacked"

Category: General|Mar 15, 2022 | Author: Admin

Reveals: "New Mac mini gets M2 and M2 Pro"

Category: Apple|Mar 14, 2022 | Author: Admin

FREE: Gamers love this game

Category: IT|Mar 13, 2022 | Author: Admin

Steam Deck will not arrive in Norway until "after the third quarter"

Category: General|Mar 12, 2022 | Author: Admin

Did you notice Apple's incredible RTX 3090 claim?

Category: General|Mar 11, 2022 | Author: Admin

Be careful: they recall these coolers

Category: IT|Mar 10, 2022 | Author: Admin

Developers can download iOS 15.4 and new macOS now - everyone can update next week

Category: Apple|Mar 9, 2022 | Author: Admin

Soon, OnePlus can be charged to 50 percent in 5 minutes

Category: General|Mar 8, 2022 | Author: Admin

Mac Studio is Apple's new machine

Category: Apple|Mar 7, 2022 | Author: Admin

Google, Microsoft, Apple, and Mozilla join forces to make browsers better

Category: IT|Mar 6, 2022 | Author: Admin

UPDATED: Microsoft has also stopped all sales in Russia

Category: Microsoft|Mar 5, 2022 | Author: Admin

The giants are joining forces for a new chip standard

Category: IT|Mar 4, 2022 | Author: Admin
more