Why do I keep getting "invalid password" when trying to log in?
I have read and tried everything that I can find and I am still having issues logging in. I have Ubuntu 11.10 that I have put on my machine a couple of weeks ago and I still cannot log in. It says invalid password.
So I have tried to reboot and reset. I have even tried to remount.
What am I doing wrong? I am a beginner trying to learn and I am not sure why I can not sign in.
Solution 1:
You said you've reset the password and the problem still occurs, so presumably the problem isn't that you're entering it incorrectly. A few possible causes come to mind:
Maybe you are not using the right keyboard layout when entering your password. You can choose your keyboard layout at the graphical login screen by clicking the keyboard icon in the bar at the top. A drop-down menu will come up, showing the available keyboard layouts. (There might just be one, but if you have more than one set up, you can select between them.)
Maybe your password contains unusual characters that are not being handled properly. If your password contains characters other than upper and lower case letters, numbers, and punctuation present on US-English keyboards (
~!@#$%^&*()_+-=[]\{}|;':"<>?,./`
), try resetting the password again, this time to something limited to those characters. (You don't have to use all those types of characters if you don't want to, though your password should be long or complex enough that it's very hard to guess.)-
Maybe something is going wrong when you reset your password. If you edit your question to include a detailed description of how you're resetting your password, a link to the procedure you are following to do so, or both, then it may be possible to assess this.
Furthermore, if it turns out you mean something else by "reset" than resetting your password, then that is very relevant. In that case, you should reset your password using one of these methods or (as suggested by tijybba), this method.
If you get Authentication token manipulation error
when changing your password in recovery mode and you cannot fix it with mount -o remount,rw /
, changing the password by chrooting from a live environment will still almost always work. I strongly recommend trying that.