Monterey - You are unable to log in to the user account "xxxx" at this time. Logging in to the account failed because an error occurred
After getting the disk on my iMac replaced after a major fail, I restored from time machine, but now I get the title message when I tried to sign on.
The only thing I found online was the single user reboot and rm /var/db/.applesetupdone trick. On Monterey that directory doesn’t exist. I can create another admin but because of a widespread use of my uid I don’t really want to go that route. Looking for solutions.
iMac 27″ 5K, macOS 12.4