Tuesday, January 27, 2009

Oh My God! I Forgot My Ubuntu Password

What do I do now? Follow this procedure:
  1. Reboot the system, when the grub loader screen appears, press [esc].
  2. This brings up the boot selection screen, highlight the version you wish to load.
  3. Press e to edit the loader.
  4. Locate the line that begins with Kernel..... At the end of this line enter the following string
    rw init=/bin/bash
  5. press enter to exit the edit mode. Then strike b to boot that version
  6. The system will then boot into the root shell
  7. Enter passwd you will be prompted for a username, enter the username as desired.
  8. Restart the system. On restart the system will return to the graphic interface. Enter the new password for your username to logon.

No comments: