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

[RHEL-10][shadow-utils] passwd can't find user azureuser in /etc/passwd

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.3
    • shadow-utils
    • None
    • Important
    • rhel-idm-zta
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Run "passwd -l azureuser" in RHEL-10 on Azure yields below error

      passwd: user 'azureuser' does not exist in /etc/passwd 

      While it's clearly in the file

      # cat -A /etc/passwd | grep azureuser
      azureuser:x:1000:1000:Cloud User:/home/azureuser:/bin/bash$
      # getent passwd azureuser
      azureuser:x:1000:1000:Cloud User:/home/azureuser:/bin/bash 

      Disabling SELinux doesn't help.
      Issue does not apply to latest RHEL 9.

      What is the impact of this issue to you?

      This jeopardizes cloud-init. sudo requires password which is not set.

      Please provide the package NVR for which the bug is seen:

      shadow-utils-4.15.0-10.el10.x86_64

      How reproducible is this bug?:

      100% in latest RHEL 10 images.

      Steps to reproduce

      1. Check cloud-init log. Or simply run `passwd -l azureuser`

      Expected results

      Actual results

              ipedrosa@redhat.com Iker Pedrosa
              litian@redhat.com Li Tian
              Iker Pedrosa Iker Pedrosa
              Anuj Borah Anuj Borah
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: