[Bug 1904166] Re: chpasswd can't change password with libpam-passwdqc enabled
EOLE team
1904166 at bugs.launchpad.net
Fri Nov 13 09:44:03 UTC 2020
It may be due to the libpam-passwdqc configuration using ask_oldauthtok
and similar=deny.
It was working fine on Bionic but fails with 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