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

systemd logging wrong username in messages about opened sessions

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CentOS Stream 9
    • pam
    • None
    • None
    • sst_idm_sssd
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • CentOS Stream
    • None
    • None
    • None
    • x86_64
    • None

      I am running CentOS Stream 9. I just upgraded to systemd-252-26.el9. After doing so I am seeing messages like these in my logs:
      sshd: pam_unix(sshd:session): session opened for user jik(uid=3009) by jik(uid=0)
      Note that it says "jik(uid=0)" at the end of the message. Prior to this upgrade there was no username before the "(uid=0)". That was preferable to the wrong username. It should obviously say "root(uid=0)" rather than "jik(uid=0)".

       

            ipedrosa@redhat.com Iker Pedrosa
            jikamens Jonathan Kamens (Inactive)
            Iker Pedrosa Iker Pedrosa
            Anuj Borah Anuj Borah
            Dominika Borges Dominika Borges
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: