Results 1 to 3 of 3

Thread: Prompt to force user to change password not appearing

  1. #1

    Default 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.
    Last edited by amwood; 20-Nov-2017 at 05:16. Reason: grammar

  2. #2

    Default Re: Prompt to force user to change password not appearing

    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.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Prompt to force user to change password not appearing

    Quote Originally Posted by amwood View Post
    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •