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

passwd -l fails in shadow-utils-2:4.15.0-10.el10

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 10
    • shadow-utils
    • None
    • None
    • None
    • rhel-idm-zta
    • None
    • False
    • False
    • Hide

      None

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

      passwd -l fails, it works in el9 and in shadow-utils-2:4.15.0-9.el10

       

      Stepa to reproduce:

      [root@localhost t_functional]# userdel -rf passtest
       
      [root@localhost t_functional]# useradd --comment passtest passtest
       
      [root@localhost t_functional]# echo 123erwIW456  | passwd -s passtest
       
      [root@localhost t_functional]# passwd -l passtest
      passwd: user 'passtest' does not exist in /etc/passwd
       
      [root@localhost t_functional]# grep passtest /etc/passwd
      passtest:x:1001:1001:passtest:/home/passtest:/bin/bash

              ipedrosa@redhat.com Iker Pedrosa
              johnnyhughes99 Johnny Hughes
              Iker Pedrosa Iker Pedrosa
              Anuj Borah Anuj Borah
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: