Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-96278

gdm falsly reports about password expiration in 0 days on login

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.7
    • gdm
    • None
    • Yes
    • None
    • 1
    • rhel-display-window-mgmt
    • ssg_display
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Display WM #5/2025
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Logging into session user gets notified that password expires in 0 day. User was created with system installation.

      User info
      [root@testPCr97 ~]# chage -l user 
      Last password change                    : never
      Password expires                    : never
      Password inactive                    : never
      Account expires                        : never
      Minimum number of days between password change        : 0
      Maximum number of days between password change        : 99999
      Number of days of warning before password expires    : 7

      Jun 11 15:55:20 testPCr97 gdm-password][3164]: gkr-pam: unable to locate daemon control file
      Jun 11 15:55:20 testPCr97 gdm-password][3164]: gkr-pam: stashed password to try later in open session
      Jun 11 15:55:20 testPCr97 gdm-password][3164]: pam_unix(gdm-password:account): password for user user will expire in 0 days
      Jun 11 15:55:20 testPCr97 systemd-logind[1081]: New session 6 of user user.
      Jun 11 15:55:20 testPCr97 systemd[1]: Created slice User Slice of UID 1000.
      Jun 11 15:55:20 testPCr97 systemd[1]: Starting User Runtime Directory /run/user/1000...
      Jun 11 15:55:20 testPCr97 systemd[1]: Finished User Runtime Directory /run/user/1000.
      Jun 11 15:55:20 testPCr97 systemd[1]: Starting User Manager for UID 1000...
      Jun 11 15:55:20 testPCr97 systemd[3181]: pam_unix(systemd-user:account): password for user user will expire in 0 days
      Jun 11 15:55:20 testPCr97 systemd[3181]: pam_unix(systemd-user:session): session opened for user user(uid=1000) by user(uid=0)

       

       

              rh-ee-joatorre Joan Torres Lopez
              rh-ee-pekopec Peter Kopec
              Joan Torres Lopez Joan Torres Lopez
              Michal Odehnal Michal Odehnal
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: