PASSWORD=$(cat /etc/cyberpanel/mysqlPassword);
DB_NAME="cyberpanel";
mysql -uroot -p${PASSWORD} "${DB_NAME}" -e "SELECT twoFA FROM loginSystem_administrator WHERE id = 1;"
Hello, I have Centos7. followed the tutorial… this method to show if 2fa is active is working and showing value 1, but the update command is not working for me, command not found message. Any idea?