Dear Developer,
Two days ago, I reinstalled the system because I replaced the hard drive. After shutting down normally yesterday, when I logged in again today, it kept saying the password was wrong (I can assure you I haven’t forgotten it; I even wrote it down on paper). I tried changing the GRUB settings to enter single-user mode to change the password. After changing it, /etc/shadow was updated, but I still can’t log in to the system.
I think the hash check probably went wrong for some reason, and in the end, I reinstalled the system and lost the data I hadn’t backed up from a day ago.
System:Fedora 44
System User Name: meoww
SystemPassword(OLD):$9~AFn35!~Br#
INFO:Password is deprecated!!! NO SECURITY RISK!!!
You are engaging with a forum mostly supported by volunteer users. Fedora just packages software from upstream developers.
Was this because you were having problems with the drive? It is possible that the problem was not with the drive but some other hardware or firmware issue.
I wonder whether this was also a case of what a Fedora KDE user found, where the password hash seemed to be rejected:
May 06 19:59:50 enpca-fedora accounts-daemon[7271]: request by system-bus-name::1.343 [/usr/bin/systemsettings pid:7284 uid:1000]: set password and hint of user 'testuser1' (1001)
May 06 19:59:50 enpca-fedora accounts-daemon[26506]: chpasswd: (line 1, user testuser1) invalid password hash
May 06 19:59:50 enpca-fedora accounts-daemon[26506]: chpasswd: error detected, changes ignored
There’s likely no way of recovering logs if you’ve already reinstalled, but would be useful to see them if it happens again.
Sorry I do not have. I will flag the topic then it gets invisible. Ask the Moderators if they can remove the history. The flag will not count as an “punishment” just to inform them. ok?
OP has already reinstalled over their system, so there shouldn’t be any risk here. Unless they have used the same password for something else - which of course you shouldn’t do anyway.
Up to them if they want to flag it and have the history wiped.
bro I can’t understand why making a password that’s no longer in use public would be a security risk. If it’s caused by special characters in the password, we could try to reproduce the problem.
Yeah, the special characters (and password length and complexity generally) are actually interesting information.
I had been wondering whether the problem I linked to above (and the similar problem experienced by the user here) were due to using over-simple passwords. (Maybe the system refused to apply an over-simple password, and failed to properly communicate the error.)
If your issue is the same cause (which tbf we don’t really know without logs), it would rule out the idea that a password strength check is behind it.