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

LG has launched 48 ″ OLED gaming screen

Category: General|May 27, 2022 | Author: Admin

This is Microsoft's “Mac Mini”

Category: Microsoft|May 26, 2022 | Author: Admin

Modern Warfare 2 launches on October 28

Category: IT|May 25, 2022 | Author: Admin

Apple wrecks iPhone 14 manufacturer

Category: Apple|May 24, 2022 | Author: Admin

This projector will be a TV

Category: IT|May 23, 2022 | Author: Admin

iPhone error disables iMessage and FaceTime

Category: Apple|May 22, 2022 | Author: Admin

Microsoft refuses to let you do that, but you can fool them

Category: Microsoft|May 21, 2022 | Author: Admin

The iPhone feature you've never tested is awesome

Category: Apple|May 20, 2022 | Author: Admin

What, even more betas ?!

Category: Apple|May 19, 2022 | Author: Admin

iOS 15.5 and macOS 12.4 have been launched

Category: Apple|May 18, 2022 | Author: Admin

Norway’s national day

Category: General|May 17, 2022 | Author: Admin

This may be the date of the new Windows 11

Category: Microsoft|May 16, 2022 | Author: Admin

The speakers on the Deer MacBook Pro fail

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

There will be a cheaper Apple TV claiming top-notch

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

Starfield is postponed until next year

Category: General|May 13, 2022 | Author: Admin
more