Debian Bug report logs - #580384
chpasswd fails with a pam_chauthtok failure

Package: live-helper; Maintainer for live-helper is Debian Live Project <debian-live@lists.debian.org>;

Reported by: jeff@kikisoso.org

Date: Wed, 5 May 2010 16:51:02 UTC

Severity: normal

Tags: squeeze

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#580384; Package passwd. (Wed, 05 May 2010 16:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to jeff@kikisoso.org:
New Bug report received and forwarded. Copy sent to Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (Wed, 05 May 2010 16:51:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jeff Green <jeff@kikisoso.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: chpasswd fails with a pam_chauthtok failure
Date: Wed, 05 May 2010 11:48:37 -0400
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




Information forwarded to debian-bugs-dist@lists.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#580384; Package passwd. (Mon, 02 Aug 2010 19:15:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jeffrey B. Green" <jeff@kikisoso.org>:
Extra info received and forwarded to list. Copy sent to Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (Mon, 02 Aug 2010 19:15:06 GMT) Full text and rfc822 format available.

Message #10 received at 580384@bugs.debian.org (full text, mbox):

From: "Jeffrey B. Green" <jeff@kikisoso.org>
To: 580384@bugs.debian.org
Subject: Re: chpasswd fails with a pam_chauthtok failure
Date: Mon, 02 Aug 2010 14:08:53 -0400
On 05/05/2010 11:48 AM, Jeff Green wrote:
> Package: passwd
> Version: 1:4.1.4.2-1
> Severity: normal
> Tags: squeeze
>

On my next pass of using live-helper it seems the problem lies there. It 
does not create the user 'user' by the time that the hooks are 
evaluated. Let me see if I can do the reassignment.

-jeff




Bug reassigned from package 'passwd' to 'live-helper'. Request was from "Jeffrey B. Green" <jeff@kikisoso.org> to control@bugs.debian.org. (Mon, 02 Aug 2010 19:15:10 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions shadow/1:4.1.4.2-1. Request was from "Jeffrey B. Green" <jeff@kikisoso.org> to control@bugs.debian.org. (Mon, 02 Aug 2010 19:15:11 GMT) Full text and rfc822 format available.

Reply sent to daniel@debian.org:
You have taken responsibility. (Tue, 10 Aug 2010 20:51:11 GMT) Full text and rfc822 format available.

Notification sent to jeff@kikisoso.org:
Bug acknowledged by developer. (Tue, 10 Aug 2010 20:51:11 GMT) Full text and rfc822 format available.

Message #19 received at 580384-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: 580384-done@bugs.debian.org
Subject: Re: chpasswd fails with a pam_chauthtok failure
Date: Tue, 10 Aug 2010 22:47:19 +0200
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/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 08 Sep 2010 07:37:35 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 11:21:08 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.