Yep, I’ve got it. My sudo password doesn’t work even though my user password works. They’re supposed to be the same, aren’t they?
I did NOT upgrade anything on my computer. One day, the password for sudo stopped working, but the same password would work to wake up from hibernation. Then today, the password stopped working to wake up from hibernation.
I followed instructions and booted the computer from a live Manjaro USB drive. I mounted the computer’s root drive. I typed `passwd --root /’. It worked fine. I was able to change the root password to something simple: ‘qqqqq’.
I then rebooted the computer and changed my user password to something more secure. Then I tried to run a command that needed sudo. I input my brand new secure password. Sudo returned ‘1 incorrect password attempt’. I tried again using the root password ‘qqqqq’. Sudo returned ‘2 incorrect password attempts’. I then CTRL-C’d my way out.
I then ran the same command using su. su accepted the password ‘qqqqq’. All went well.
Why is sudo so temperamental? What can I do about it?