Thursday 1 August 2013

Crack Linux, Unix, Ubuntu root password using Grub Editing

Forgot your root password, don't worry, you need not to reinstall OS as I'm providing you the easiest way to crack or reset the password for any user including root.

Steps to follow:
  1. Power on the system, and press ESC key or Up/Down Arrow Key repeatedly until the GRUB menu is displayed.
  2. Now select the normal boot mode using Arrow Key and press 'e' to edit the settings.  

  3. Now it will display multiple lines, go to the line starting with or having "Linux" or "Kernel" and press 'e' to edit.
  4. Now add  init=/bin/bash  at the end the lineand hit enter.

  5. Now Press F10 or 'b' to boot with new settings.
  6. Now it will load bash terminal , where you can execute commands to change password.
  7. Now type passwd it will ask yo to enter new password.
  8. If Token busy error occurs, then type mount -o remount, rw / and  mount -o remount, rw /proc
  9. Now try to change the password.

No comments:

Post a Comment