If you suddenly lose the CyberPanel password used to log in as an admin, or want to reset your CyberPanel admin password periodically, you can do it easily and in a more flexible way.
Flexible here means you can change the password through the CyberPanel admin panel, or you can also do it via CLI using SSH.
However, before resetting the password, it is recommended not to use special characters like #%$() and others because when I tried to create a password with special characters, the password was not saved, but the old password could not be used either.
How to Reset CyberPanel Admin Password via Control Panel
If you want to reset your password via the control panel, make sure you can log in as an admin in that control panel.
However, if you cannot log in as an admin, you need to use the password reset method using CLI.
Here are the steps you can take to reset your admin password CyberPanel via control panel
- Log in to your CyberPanel control panel page as an admin user
- Open the page Users > Modify Users
- Select user admin and a form will appear that you can update
- In the password column, enter the new password you will use
- Save the changes by clicking the button Modify User
- Try logging in again with the new password
Very easy, right?
But what if you cannot even log in to the CyberPanel control panel? If that is the case, you need to reset the password using CLI
How to Reset CyberPanel Admin Password Using CLI
To reset the password using CLI, make sure you can access SSH as a root user. If you have never accessed SSH, you can follow this tutorial: How to Log In to VPS SSH.
If you can already access SSH, you can follow these steps
- Log in to SSH as a root user using CMD, Terminal, shell, or the PuTTY application
- Run the following command to change the password
adminPass passwordBaruMake sure to change newPassword with the password you will use. For example, if you want to change the new password to wpganPass, then the command used will be like this
adminPass wpganPassIf you cannot run adminPass, make sure that the spelling is correct, or you can also use the following command
/usr/bin/adminPass passwordBaru- Now the changes are complete and you can try logging in to the control panel using the new password
That is the easy way you can take to reset your CyberPanel admin password, so you can perform updates periodically and your server password becomes more secure.
COMMENTS
Loading...