I was trying to change the default password for my raspberry pi and I used sudo passwd instead of just passwd. What did I change when I used sudo passwd?
It didn't even ask me to enter the current password. It just asked me to enter a new password and confirm it.