The following is used by Pagoda Panel to share with you the solution for forgetting the password of Linux 3.X/4.x/5.x Pagoda Panel. I hope it will help those who need it. Friends help!
Enter ssh and enter the following command to reset the password (replace the "testpasswd" at the end of the command with the new password you want to change)
Note:
If you are a debian/ubuntu user, please use an account with root permissions to execute this command
cd /www/server/panel && python tools.pyc panel testpasswd
The purple box is the password you want to change
The red box is the panel account
If you are prompted for multiple login failures, login is temporarily prohibited. Please enter the following command to clear login restrictions
rm -f /www/server/panel/data/*.login
The above is the detailed content of Solution for forgetting Linux 3.X/4.x/5.x Pagoda panel password. For more information, please follow other related articles on the PHP Chinese website!