All of a sudden one day my computer required me to log in before going to my desktop. I put in my password, but it didn't work, and when I tried to fix the problem via the command line, the command line wouldn't accept my password either.
I successfully reset the password twice, just to be absolutely sure I was using the correct password, but it still wouldn't accept the new password after it was successfully changed.
The method I used to change the password was:
mount -o remount,rw /
chmod 640 /etc/shadow
sudo passwd USER
When correct password is used it returns to this screen
and when incorrect password is used, it returns to this screen
I followed instructions to mount the root file-system/chroot in live cd/usb, and try chroot with strace -o login.strace login to see if I got different results but I didn't. 

