Cannot Properly Create User Through KDE Settings

After trying to do some testing with other users on my computer, I have realized that Fedora’s implementation of KDE fails to properly create the user when I use the GUI method (through KDE settings). It succeeds at initializing the user; but, fails to setup the password, results in a failure to login through the display manager.

First thought - have you checked keyboard layouts? Is the layout you used when creating the password the same that you use when typing it to log in?

You can always reset a users password from a terminal window.
sudo passwd USER

I did pick “JJJJJ” as my password which should be layout independent (at least for the layouts I use).

yes, via using this command, I have realized that the issue is with the GUI since it was able to reset the password successfully, my intention for this post was to report the bug and see whether anyone is encountering it.

Looks like someone has filed an upstream bug, https://bugs.kde.org/show_bug.cgi?id=519855
Thanks!

Thanks for letting me know, I did not see this one. But, what I was wondering is whether this should be fixed by the upstream since I tested the same thing with a Endeavouros VM and it did not led to the same issue. Isn’t this a Fedora issue, thus should be fixed by Fedora rather than KDE?

The bug report is interesting because it shows log messages with a failure to set the password:

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

I notice that the bug reporter is using a “simple numerical password”, and you are also using a very simple password. I wonder if a password strength check is failing. Does it behave differently if you choose a more complex password?

There may be a Fedora issue here (I’m not sure whether Fedora intends to reject weak passwords).

But there is also a KDE issue, because Plasma is silently ignoring the error received from the accounts-daemon, and proceeding as if the password was set successfully.

That’s wrong behaviour - Plasma needs to tell the user that setting the password failed, and ask the user to retry.