[Bug 1904166] [NEW] chpasswd can't change password with libpam-passwdqc enabled

EOLE team 1904166 at bugs.launchpad.net
Fri Nov 13 09:34:09 UTC 2020


Public bug reported:

Hello.

We are unable to change user password using chpasswd with libpam-
passwdqc, it seems to miss detect old password:

    root at server:~# echo 'root:hearth=mirth-Double' | chpasswd
    […]
    Weak password: is the same as the old one.
    Try again.

    root at server:~# echo $?
    1

I tried the following to make sure the old password was not the same:

    root at server:~# echo 'root:foo' | chpasswd -c SHA512
    root at server:~# echo 'root:hearth=mirth-Double' | chpasswd
    […]
    Weak password: is the same as the old one.
    Try again.

    root at server:~# echo $?
    1

** Affects: shadow (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1904166

Title:
  chpasswd can't change password with libpam-passwdqc enabled

Status in shadow package in Ubuntu:
  New

Bug description:
  Hello.

  We are unable to change user password using chpasswd with libpam-
  passwdqc, it seems to miss detect old password:

      root at server:~# echo 'root:hearth=mirth-Double' | chpasswd
      […]
      Weak password: is the same as the old one.
      Try again.

      root at server:~# echo $?
      1

  I tried the following to make sure the old password was not the same:

      root at server:~# echo 'root:foo' | chpasswd -c SHA512
      root at server:~# echo 'root:hearth=mirth-Double' | chpasswd
      […]
      Weak password: is the same as the old one.
      Try again.

      root at server:~# echo $?
      1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1904166/+subscriptions



More information about the foundations-bugs mailing list