[Pkg-shadow-devel] Bug#580384: chpasswd fails with a pam_chauthtok failure

Jeff Green jeff at kikisoso.org
Wed May 5 15:48:37 UTC 2010


Package: passwd
Version: 1:4.1.4.2-1
Severity: normal
Tags: squeeze

This error occurs during the build of an iso for a live cd in 
live-helper. I've added the file:

% cat 01-update_password.sh
#!/bin/sh
echo "I: update password"
echo "root:reallybigsecret" | chpasswd
echo "user:justasecret" | chpasswd

to config/chroot_local-hooks and the build produces the error:

I: update password
chpasswd: (user user) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user user) password not changed
E: config/chroot_local-hooks/01-update_password.sh failed (exit non-zero). You should check for errors.

This error may be related to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/550194


-- System Information:
Debian Release: squeeze/sid
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-3-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-2    Pluggable Authentication Modules f
ii  libpam0g                      1.1.1-2    Pluggable Authentication Modules l
ii  libselinux1                   2.0.94-1   SELinux runtime shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information





More information about the Pkg-shadow-devel mailing list