Actually, I'm not so sure about pointing the finger entirely at pam_ecryptfs.
I have an up-to-date Intrepid system here, without ecryptfs at all. I run passwd and give:
current password: (correct password)
new password 1: foo
new password 2: bar
And it prints:
Sorry, passwords do not match
passwd: password updated successfully
And the exit code is 0.
For posterity, I'll note that the password is not actually changed. It's still a matter of the message and error code.
Steve-
Actually, I'm not so sure about pointing the finger entirely at pam_ecryptfs.
I have an up-to-date Intrepid system here, without ecryptfs at all. I run passwd and give:
current password: (correct password)
new password 1: foo
new password 2: bar
And it prints:
Sorry, passwords do not match
passwd: password updated successfully
And the exit code is 0.
For posterity, I'll note that the password is not actually changed. It's still a matter of the message and error code.
:-Dustin