This question already has an answer here:

I installed Ubuntu 13.04 through wubi file, where we set username & passwd preinstalling of Ubuntu,but now I couldn't login with my username even though I typed the correct password, as it is showing it as wrong password.

marked as duplicate by Panther, Radu Rădeanu, Thomas Ward, psusi, Basharat Sialvi Jun 8 '13 at 2:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    @guntbert - The solution (boot to recovery mode) applies to wubi – Panther Jun 7 '13 at 19:40
  • I tried both left and right shift but i couldnt boot into recovery mode – harsha vasireddy Jun 8 '13 at 9:30

Boot into a root shell: How do I boot into a root shell?

Then change the password for you user

sudo passwd <username>

Not the answer you're looking for? Browse other questions tagged or ask your own question.