2

Possible Duplicate:
How do I reset a lost password (using recovery mode requires me to type the password)?

Ubuntu 12.04

1) Used the recovery menu to get to a root terminal:

a) mount -o remount,rw / (remounted as rw)

b) passwd my_username (entered new password and confirmed)

c) sync; reboot or exit then resume from menu

d) login fails to recognize password

2) Edited grub menu

a) remove ro and add rw init=/bin/bash

b) simple add rw init=/bin/bash

  • login still fails to recognize password, or fails to boot to terminal or gui

3) Used the recovery menu to get to a root terminal:

a) remounted as rw

b) nano -B /etc/shadow

c) removed my username encrypted password so that there would be an empty password for me.

d) reboot

  • login still fails to recognize password

4)Used the recovery menu

a) fsck, repair packages, then tried option #1

  • login still fails to recognize password

5) Tried the above with a different password rather than the original, in case that was not 'allowed'.

  • login still fails to recognize password

By the time anyone answers this I will have reinstalled Ubuntu from scratch, but I'd still like to know what I might have missed that might have worked.

0 Answers0