Please note that you will need KVM access to change your server's boot loader menu to reset your Centos password!

1.) Reboot your machine.

2.) During boot, hold Shift to enter the GRUB menu.

3.) To edit, identify your image and press E .

4.) Locate the line that begins with "linux" and add "rw init=/bin/bash" to the end of it.

5.) To boot, press Ctrl + X.

6.) When the boot process is complete, type "passwd" into the shell prompt and enter your desired password

7.) Reboot your server, and you should be able to log in now!

Was this answer helpful? 0 Users Found This Useful (0 Votes)