I have just installed Ubuntu, and set a password while installing which it was 1234
, and then after I was done installing I wanted to change it, but when I went to the user account and unlocked it, and then typed the current password and new password, I wasn't able to click on the change button.
I tried the command passwd {user}
and it worked, now when I try to use sudo
command or install any software, I use the new password, but the problem is that I can't log out of the account or lock the screen any more. Also when I boot my device and try to access my user, the computer doesn't ask for a password, I just see a button that says login without asking for any password.
Please help.