I recently installed (well, tried) Ubuntu 14.04 on my laptop and during the setup I made a username and password and after the setup my laptop automatically restarted and asked for a username and password and when I enter then it says it's incorrect. I've tried resetting the password but its says it was unchanged. I've tried reinstalling Ubuntu again and had the same problem. Does anyone know what's going on or if I'm doing something wrong?

share|improve this question

closed as off-topic by guntbert, karel, Charles Green, Eric Carvalho, g_p Dec 22 '14 at 9:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – guntbert, karel, Charles Green, Eric Carvalho, g_p
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
OP says in a comment "got it working now" - voting to close as "cannot be reproduced". – guntbert Dec 15 '14 at 19:33

You can reset your password by booting your system in Recovery Mode

  • Reboot your system and select recovery mode in the grub menu.

    enter image description here

  • In recovery mode select Drop to root shell prompt option. It will drpo to a root
    shell (if you haven't set the root password, otherwise you need to enter the root password.)

  • Now enter mount -o rw,remount / so that you can remount the filesystem in read/write mode because by default in in read only mode.

    enter image description here

  • Now enter ls /home , It will display the username(in case you forgot you username or not sure about it.)

  • Now to reset password type passwd your_username.

  • You will be promoted to enter new password. Enter your new password.

  • Now type exit and reboot.

share|improve this answer

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