Score:0

Ubuntu password no longer works after login

cn flag

I recently installed Ubuntu 22.04 on a laptop (dual boot with Win 11) and something weird happened to my password. I can only use it to login when I select a user (the booting GUI) and after that, things like sudo or password pop-ups don't work (the system claims I provide a wrong password). Some other observations:

  • the user is a member of the sudo group (groups)
  • login as the root user doesn't work either (su -), the only option here is the recover mode where the root's password works
  • it happens for every new user I create (using the recovery mode) - new users work normally for a while then the problem reoccurs
  • neither x11 nor wayland works
  • passwd (recovery mode) doesn't help

EDIT - Recreating the user's home directory helps, but after a while the problem comes back.

hr flag
This kind of behavior may be caused by keyboard layout settings
I.D.M avatar
cn flag
I'm almost sure that's not the case. It looks like there's some update in the background that messes the password/some tokens. Btw, I added a small update to the description.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.