Prompt to force user to change password not appearing

I’ve just installed Leap 42.3 with KDE on a new system.

I’d like to force a new user to change his password on his first login. I’m doing this with “chage -d0 username” after creating the new account. However, on attempting to login at the KDE login screen, the prompt to ask the user for a new password fails to appear, and the screen just sits there doing nothing.

“journalctl -f” reports this, as it’s happening:

Nov 20 11:38:47 hostname sddm-helper[4779]: pam_unix(sddm:account): expired password for user username (root enforced)
Nov 20 11:38:47 hostname sddm-helper[4779]: [PAM] Conversation with 1 messages
Nov 20 11:38:47 hostname sddm[3771]: Authentication error: “You are required to change your password immediately (administrator enforced)”
Nov 20 11:38:47 hostname sddm-greeter[4764]: Message received from daemon: LoginFailed
Nov 20 11:38:47 hostname sddm-helper[4779]: [PAM] Preparing to converse…
Nov 20 11:38:47 hostname sddm-helper[4779]: [PAM] Conversation with 1 messages
Nov 20 11:38:47 hostname sddm-helper[4779]: [PAM] Preparing to converse…
Nov 20 11:38:47 hostname sddm-helper[4779]: [PAM] Conversation with 1 messages
Nov 20 11:38:47 hostname sddm[3771]: Authentication information: “Changing password for username.”

I’ve had this working on 13.2 and Leap 42.1 without any problem.

At the moment I can work around this by pressing “CTRL-ALT-F1” and logging in at a terminal. The user is then prompted for to change his password. I don’t regard this solution as satisfactory, however.

Can anyone help? Thanks.

I’ve found out what the problem is.

My early system was using KDM. The new install is using SDDM. This is a known issue in SDDM:

https://github.com/sddm/sddm/issues/472
https://github.com/sddm/sddm/issues/716
https://github.com/sddm/sddm/pull/776

There’s a pull request to fix it, but it hasn’t been approved yet.

Thanks for reporting back.