How to Change Root Password Using SSH
This article explains the method of changing the root password on a Linux Server using SSH.
- SSH the server as Root user.
- Run the following command:
# passwd root
- You will see the following output:
- Changing password for user root.
- New password: (Enter Desired Password)
- Retype new password: (Retype Desired Password)
- passwd: all authentication tokens updated successfully.
Your password has now been changed and will be required to access the server as root user for any subsequent connections.
Was this answer helpful?
This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...
This article provides a step-by-step guide to installing the Python interpreter on an Ubuntu VPS...
If at any point you find you have an orphaned ipaddress, you can delete it by running the...
When installing software to your Ubuntu VPS or Dedicated Server, you may encounter an error:...