Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Use the down arrow key to select "Advanced options for Ubuntu", then press the <enter> (return) key
    You get:


  2. From here use the down arrow key to select the option Ubuntu with Linux a.b.c-dd-generic (recovery mode) [where the Linux kernel version: a.b.c-dd varies], then press the <enter> (return) key
    The system boots displaying various boot messages and then you get the recovery menu:

  3. From here use the down arrow key to select the option root (Drop to root shell prompt), then press the <enter> (return) key.
    You get:

  4. Press <Enter>
    You get:


    and you are now at the command prompt - logged in as root

  5. To change the password of the user <username> enter the command:
    # passwd <password>
    and you are now prompted for the password:
    New password: ← enter the new password here
    Retype new password: ← enter the new password here (again)
    and provided that it worked you get:
    passwd: password updated successfully

  6. Now you are back to the prompt (#) - press control-D to get back to the Recovery Menu and then choose resume (resume normal boot)from the menu to boot the system

  7. Now press <Enter> (return) to exit recovery mode
    The system now boots. When complete you get the login prompt where you can log in as itrinegy <username> with your new password