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

Errenous password expiration message

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • CentOS Stream 9
    • CentOS Stream 9
    • pam
    • None
    • pam-1.5.1-26.el9
    • Yes
    • Moderate
    • rhel-idm-sssd
    • 1
    • None
    • CentOS Stream
    • None
    • Requested
    • None
    • Unspecified
    • None

      Warnig message is displayed when loggin in via ssh:

      "Warning: your password will expire in 0 days."

      By the "man 5 shadow" documentation:

             date of last password change
                 The date of the last password change, expressed as the number of days since Jan 1, 1970 00:00 UTC.

                 The value 0 has a special meaning, which is that the user should change her password the next time she will log in
                 the system.

                 An empty field means that password aging features are disabled.

       

      However, the third field in the /etc/shadow file is empty for the user (actually it is the root account).

              ipedrosa@redhat.com Iker Pedrosa
              redhat-bug_yties Attila Bruncsak (Inactive)
              Iker Pedrosa Iker Pedrosa
              Anuj Borah Anuj Borah
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: