Public bug reported:

Hello.

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

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

    root@server:~# echo $?
    1

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

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

    root@server:~# echo $?
    1

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


** Tags: focal

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to