Today, after creating a snapshot of a server on Vultr and restoring it to another server, I didn't save the password of the original snapshot server. So, after the snapshot restoration was complete, I couldn't log into the system and needed to manually reset the root password. The method is as follows:

Go to the server details page, click the computer icon in the top right corner to enter the Console interface.

Then click the 'Send CtrlAltDel' button in the top right corner.

Press E on the keyboard in this interface.

Add init=\/bin\/bash after quiet on the third line from the bottom in the above image, then press CTRL + X to exit.

Then enter mount -o remount,rw \/ followed by passwd, then enter the new password twice. The modification will be successful. Restart the server to finish.
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.