Guides - Reset the Root Password on a Compute Instance
Linux virtual machines equipped with a tailored set of resources designed to run any cloud-based workload.
All Compute Instances deployed using one of Linode’s official distribution images provide the ability to reset the root password on the system. This is useful if you ever lock yourself out of your instance’s root account or are simply rotating your password for security. Follow the instructions below to reset your root password:
Log in to the Cloud Manager, click the Linodes link in the sidebar, and select a Compute Instance from the list.
Click the Power Off button in the upper right of the Compute Instance’s dashboard or within the ellipsis menu. Wait until the Compute Instance has been fully powered off before continuing to the next step.
Navigate to the Settings tab.
Scroll down to the Reset Root Password section.
Select your primary disk from the Disk dropdown menu.
Enter a new password for the root user in the New Root Password field.
Account passwords must be a minimum of 11 characters in length and be sufficiently complex. Each password is individually analyzed by an algorithmic tool to determine it’s strength. When creating a password, follow the recommendations listed below:
- Password should be at least 11 characters in length (though longer passwords are considered stronger).
- Avoid using simple passwords based on dictionary words.
- Use a mixture of unpredictable uppercase letters, lowercase letters, numbers, and symbols.
- Avoid repeating characters (
aaa), sequences (
abcd), and keyboard patterns (
Click Save to make the change.
Click Power On button to turn on your Compute Instance.
You can now use this new password when logging in as the root user on your Compute Instance over SSH or Lish (the Linode Shell). If you’re able to log in as root using Lish but not SSH, there may be an issue with the SSH configuration, firewall rules, or other network issues. The following guides provide more troubleshooting steps:
This page was originally published on