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

[RFE] tpm2-abrmd use systemd-sysusers

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

    • tpm2-abrmd-2.4.0-4.el9
    • None
    • rhel-sst-kernel-security
    • rhel-sst-kernel-security
    • ssg_core_kernel
    • 6
    • 12
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Release Note Not Required
    • None
    • 57,005

      Description of problem:
      tpm2-abrmd has static useradd scripts

      Version-Release number of selected component (if applicable):
      tpm2-abrmd-2.4.0-3.el9

      How reproducible:
      100%

      Steps to Reproduce:
      1.review %pre
      2.
      3.

      Actual results:
      %pre
      getent group tss >/dev/null || groupadd -f -g 59 -r tss
      if ! getent passwd tss >/dev/null ; then
      if ! getent passwd 59 >/dev/null ; then
      useradd -r -u 59 -g tss -d /dev/null -s /sbin/nologin -c "Account used for TPM access" tss
      else
      useradd -r -g tss -d /dev/null -s /sbin/nologin -c "Account used for TPM access" tss
      fi
      fi

      Expected results:
      use of system-sysusers

      Additional info:
      https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
      https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

              shoracek@redhat.com Štěpán Horáček
              riehecky Pat Riehecky
              Vilem Marsik Vilem Marsik
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: