I have my PC set up to dual Manjaro or Windows (installations are on separate disks).
I haven’t booted Manjaro for a while, so when I checked the updates there were a lot to run. I resyced the mirrors then went for a “full system update”. This ran to completion, so I rebooted to start the new kernel.
Issue- I can’t log in
The update seems to have damaged my password entry somehow. My username is still listed (I am the only user of this machine) but my password is now invalid so i can’t log in.
I tried to bring the system up single user so I could manually reset my password, but the Grub option to start single user fails with an error saying it can’t find the correct vmlinuz (5.8.x I believe) file.
I found another report of something that might be connected here. I don’t seem to be able to add a link, so search for:
I assume I will have to boot from a USB stick, mount the root partition and rewrite the password file. Reporting this here to find out if other people are running into similar problems.
I booted to a live linux USB stick, mounted the Manjaro root partition, then following a guide I found on the on the web I used a 3-line Python script to check the password entry in /etc/shadow against my plaintext password. This succeeded.
So, my stored password is NOT corrupted, but I still can’t log in. This seems to imply a bug somwhere in the login path that is mis-handling either the entry of my plaintext password, or the hashing and comparison of the value.