Sunday 11 May 2014

How to Recover Linux Root Password

If you forget your linux server or client machine root password. Don’t you worry about this! in this tutorial it will explain with steps how you can reset it in simple way.
However, there are couple of methods to recover root password. So, lets go towards the easy and simple method I usually follow to recover my root user password in linux whenever I forget the password.
  • Save and close all your applications if you have opened already for safe data before reboot the machine.
  • Softly reboot your desktop client or server and wait for appearing a GRUB loader appearing.
  • When grub loader will be appeared, press “e” to edit into grub loader
root-password-01
  • Press arrow key and point to kernel line and then press “e” to edit into kernel
root-password-02
  • After that at the end of the kernel line and type “single” (without quotes) after give single space as shown below in the screenshot. and press “Enter” now.
root-password-03
  • Press “b” to boot after changes
root-password-04
  • Now you will get the root prompt without asking password
root-password-05
  • Reset the “root” password now.

1 comment: