Bug#369439: [Pkg-shadow-devel] Bug#369439: chgpasswd terminates after asking for a password

Christian Perrier bubulle at debian.org
Tue May 30 05:13:52 UTC 2006

> if i execute 'echo "jonas:password" | chgpasswd', i get a prompt:
> Password:
> and after two seconds it terminates with the following error message:
> chgpasswd: PAM authentication failed
> chgpasswd should not ask anything, as it's intended to be used in
> scripts, and gets all information via stdin.

I suspect (without checking) that this could be related to the utility
being PAMified. We currently don't use PAM for chpasswd in Debian and
we probably should do so as well for chgpasswd.

We're currently considering to re-enable PAM for all utilities,
without, however, using a PAM configuration file for each. We will
probably have all utilities use the same PAM configuration file than
passwd. But that's another story...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20060530/b12893d9/attachment.pgp

More information about the Pkg-shadow-devel mailing list