Your message dated Wed, 21 Sep 2016 02:39:29 +0000
with message-id <>
and subject line Bug#628848: Removed package(s) from unstable
has caused the Debian Bug report #714901,
regarding libpam-unix2: (wishlist) make it clearer that the wrong password was 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: libpam-unix2
Version: 1:2.4.1-4
Severity: wishlist
Tags: patch

*** Please type your report below this line ***

I am using this module to help users change passwords on a mixed file & NIS

If they happen to enter the wrong string for the old password, they get a
inscrutable message:

  % passwd
  Old Password:
  passwd: Authentication token manipulation error
  passwd: password unchanged

Which usually leads them to keep trying the same, wrong, password.

Unless there is some way to configure PAM to give a friendlier error message
than the default text for PAM_AUTHTOK_ERR, the patch below would fix the
problem for me.

Patch is against 1:2.6-1, but I compiled & tested with 1:2.4.1-4.

--- a/src/unix_passwd.c
+++ b/src/unix_passwd.c
@@ -257,6 +257,8 @@
       if ((getuid () || (flags & PAM_CHANGE_EXPIRED_AUTHTOK)) && strcmp
                        crypt_r (oldpass, data->oldpassword, &output)) != 0)
+         __write_message (pamh, flags, PAM_ERROR_MSG,
+                                _("Wrong password."));
          if (options.debug)
            pam_syslog (pamh, LOG_DEBUG,
                        "old password is wrong -> abort.");

-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable
  APT policy: (990, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-unix2 depends on:
ii  libc6                 2.11.3-4           Embedded GNU C Library: Shared lib
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libxcrypt1            1:2.4-1            Crypt library for DES, MD5, and bl

libpam-unix2 recommends no packages.

libpam-unix2 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:2.6-2+rm

Dear submitter,

as the package libpam-unix2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see

The version of this package that was in Debian prior to this removal
can still be found using

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing

Debian distribution maintenance software
Chris Lamb (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to