Search Our Database
How to Reset the WHM Root Password via SSH
Introduction
To reset your WHM root password via SSH, you can use the command-line interface. This process is useful when you’ve lost or forgotten your password and need to regain control of your server. This guide will walk you through the steps to quickly and securely reset your password.
Prerequisite
- Access to your server via SSH with a root or sudo user account
- Basic knowledge of Linux command-line interface
Step-by-step guide
Step 1. SSH into your server. You may refer the step from the LINK.
Step 2. Enter command below to gain root privilege.
sudo su -
Step 3. Enter the command below and your new password and press Enter.
[root@server01 ~]$ passwd root Changing password for user root. Current password:
Step 4. After that, you need to re-enter the new password:
[root@server01 ~]$ passwd root Changing password for user root. New password: Retype new password:
The system will confirm that your password has been updated successfully. This change will apply to both your SSH root login and your WHM root login.
Conclusion
By following this guidance, you can successfully reset your WHM root password via SSH, allowing you to regain access to your server management panel and ensure its security.
For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.