I just used netplwiz to change my username. After doing so, I log out and went back to see if the change was visible. At that point, I see on the lock screen that it still displays the old username. Strange. I type my password to log in and keep going, and ... "the password is incorrect"..!
At this point, I am totally helpless since
I cannot login on to my computer
I have no other account to log in to, this was my only account on the computer
I am using the same password since years and I haven't changed it so I know the problem doesn't come from there
EDIT: just to clarify things concerning the accounts on this computer:
- the only account on this computer has always had "Name Surname" as a username
- I used netplwiz to change the name to "Name" only
- On the lockscreen now only one account is available, and the name is "Name Surname", as it always was. Clearly the change of name wasn't taken into account properly.