Forgot root password? or want to restore the root password on linux?
without the necessary tools or baypass recovery with live cd, want to know the solutionis easy?
1. Rebooting linux CentOS.
2. Entrance into the grub selection.
3. Press e at grub CentOS
4. Select the kernel on the second row
5. Press e again
6. Enter a space and the number one "1 " without quotes
7. Press enter
8. Then press b to boot with a kernel that we have to edit on the 6 th stage
Further you can, change your root password with the command
after that please reboot again and login with the new password.