[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580384: marked as done (chpasswd fails with a pam_chauthtok failure)



Your message dated Tue, 10 Aug 2010 22:47:19 +0200
with message-id <4C61BAD7.7000001@debian.org>
and subject line Re: chpasswd fails with a pam_chauthtok failure
has caused the Debian Bug report #580384,
regarding chpasswd fails with a pam_chauthtok failure
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 owner@bugs.debian.org
immediately.)


-- 
580384: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580384
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
This is not a bug in live-build; the unprivileed user is not created at
buildtime, but at runtime, see live-config.

there's no nice way to set a custom password yet, if you want to set a
custom password, have a look at 002-user-setup.

if you insist of having your own password and don't want it to be
created at runtime (which means that you don't need to modify
002-user-setup), add a hook in your config tree to create an
unprivileged user with your desired password, and boot the resulting
system with 'live-config.username=whatever'.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply to: