Home >Topics >Pagoda Panel >Solution for forgetting Linux 3.X/4.x/5.x Pagoda panel password

Solution for forgetting Linux 3.X/4.x/5.x Pagoda panel password

藏色散人
藏色散人forward
2019-10-02 14:09:232848browse

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!

Solution for forgetting Linux 3.X/4.x/5.x Pagoda panel password

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

Solution for forgetting Linux 3.X/4.x/5.x Pagoda panel password

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!

Statement:
This article is reproduced at:juejin.im. If there is any infringement, please contact admin@php.cn delete