Reset a forgotten root password in linux/centOS environment

Root Folder > Dedicated Servers - Linux
In Grup:

-Choose the Kernel
-Press "e" to edit the that kernel
-Go to second line and press "e" to edit
-Add the letter "S" to the of the line
-Press Enter to exit from Edit mode
-Now press the "b" key to boot into single user mode

once there .. Enter :

#passwd root
[enter the new pass and repeat]

Finally reboot the system

Add Feedback