Solution for Forgotten Linux 3.X/4.x/5.x/6.x/7.x Pagoda Panel Password
To enter ssh, it is recommended to install the Fort Tower SSH client (free/simple/Chinese/multi-screen) first, and enter the following command to reset the password (replace "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 privileges to execute this command
cd /www/server/panel && python tools.py panel testpasswd
copy code
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, temporarily prohibit the login, please enter the following command to clear the login restrictions
rm -f /www/server/panel/data/*.login
copy code