I logged in to my Pi2 this afternoon for the first time in a while, so I decided to run a full system update. This completed successfully, however upon exiting my SSH session and starting a new one my password no longer works and does not let me log in to my pi.
Since I didn't have anything on my pi that I couldn't afford to lose, I reinstalled the latest image on to my pi and logged in to SSH using the default root password. I then changed my password, exited my SSH session and logged back in again to make sure my new password works correctly. I then did a full system update, logged off, then when I tried to log back on again my password no longer works.
So, I tried the above again, however this time before logging off after the full system update I set my password again then logged off. However when I try to log back in again my password still doesn't work.
The update applied to the latest fresh new image included the following packages:
gcc-libs-5.2.0-2 glibc-2.22-1 gnupg-2.1.7-1 ldns-1.6.17-3 linux-api-headers-4.1.4-1 linux-raspberrypi-4.1.5-1 openssh-7.0p1-1 raspberrypi-firmware-20150813-1 raspberrypi-firmware-bootloader-20150813-1 raspberrypi-firmware-bootloader-x-20150813-1 raspberrypi-firmware-examples-20150813-1 raspberrypi-firmware-tools-20150813-1 s-nail-14.8.4-1
Does anyone have any ideas why this might be happening?