Comment 12 for bug 303515

Revision history for this message
Bjoern Voigt (bjoern) wrote :

Also with the latest updates "passwd" sometimes reports successful password changes, but password leaves unchanged.

Here is an example. The new example password could not be set by the user, because the password has already been used:

$ passwd
Changing password for user1.
Old Password:
New Password:
Password has been used already. Choose another.
New Password:
Password has been used already. Choose another.
New Password:
Control-C

This behavior is ok. But now I try to change the password for the same user als root:

$ sudo -i
# passwd user1
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

The problem is that "passwd" reports a successful password change, but the old password is still used.

I use a standard passwd/PAM configuration (created with "pam-auth-update --force" and these options
     [ ] likewise-open
     [*] unix
     [*] consolekit).