How to reset the root ssh password using Single User Mode
1. The first step is to reboot server.
2. Wait until the grub splash screen comes on and hit the letter 'e' on your keyboard. This will stop grub.
3. You should see one of the choices has "kernel" select the one with "kernel
4. Hit 'e' on your keyboard
5. Type ' single' (make sure to include a space before "single") and hit enter.
6. Then enter 'b' to boot. Your system should boot up in single mode as root
7. Now that you are logged in single mode you can change the root password by sending this command: 'passwd'
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article