[Pkg-shadow-devel] Bug#71027: marked as done ([TO CLOSE 20050330] usermod infinite recursion)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 30 Mar 2005 22:18:14 -0800


Your message dated Thu, 31 Mar 2005 07:10:24 +0200
with message-id <20050331051024.GZ9876@mykerinos.kheops.frmug.org>
and subject line Bug#71027: Is this bug still relevant?
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Sep 2000 19:38:13 +0000
>From ian@davenant.greenend.org.uk Wed Sep 06 14:38:13 2000
Return-path: <ian@davenant.greenend.org.uk>
Received: from chiark.greenend.org.uk [::ffff:195.224.76.132] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13Wl1R-00026W-00; Wed, 06 Sep 2000 14:38:13 -0500
Received: from 39b69d20.1dc35.6568.0.bsmtp.davenant.greenend.org.uk by chiark.greenend.org.uk with local-bsmtp (Exim 3.12 #2)
	id 13Wl1P-0006kt-00 (Debian); Wed, 06 Sep 2000 20:38:11 +0100
Received: from ian by davenant.greenend.org.uk with local (Exim 3.12 #2)
	id 13WktI-0006Hz-00 (Debian); Wed, 06 Sep 2000 20:29:48 +0100
From: Ian Jackson <ian@davenant.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14774.39723.909778.196675@davenant.relativity.greenend.org.uk>
Date: Wed, 6 Sep 2000 20:29:47 +0100 (BST)
To: submit@bugs.debian.org
Subject: usermod infinite recursion
X-Mailer: VM 6.75 under Emacs 19.34.1
Delivered-To: submit@bugs.debian.org

Package: passwd
Version: 19990827-20

Setting up telnetd (0.16-4) ...
adduser: `usermod -G utmp telnetd' exited from signal 139.  Aborting.
Cleaning up.
dpkg: error processing telnetd (--install):
 subprocess post-installation script returned error exit status 1

-root@davenant:~> usermod -G utmp telnetd
[ process groups to 34Mb, I get bored, press ^C ]
-root@davenant:~> 

Sep  5 22:15:09 davenant usermod[21469]: add `telnetd' to group `utmp' 
Sep  5 22:15:29 davenant last message repeated 76158 times

I manually added telnetd to group utmp with vipw and then all went
well.

Ian.

---------------------------------------
Received: (at 71027-done) by bugs.debian.org; 31 Mar 2005 06:08:17 +0000
>From bubulle@kheops.frmug.org Wed Mar 30 22:08:17 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from onera.onera.fr [144.204.65.4] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DGsqn-0008Lf-00; Wed, 30 Mar 2005 22:08:17 -0800
Received: from cc-mykerinos.onera (localhost [127.0.0.1])
        by onera.onera.fr  with ESMTP id j2V68Ck9012444;
        Thu, 31 Mar 2005 08:08:12 +0200 (MEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id B30FD232A4; Thu, 31 Mar 2005 07:10:24 +0200 (CEST)
Date: Thu, 31 Mar 2005 07:10:24 +0200
From: Christian Perrier <bubulle@debian.org>
To: Ian Jackson <ian@davenant.greenend.org.uk>, 71027-done@bugs.debian.org
Subject: Re: Bug#71027: Is this bug still relevant?
Message-ID: <20050331051024.GZ9876@mykerinos.kheops.frmug.org>
References: <20050330184010.GR9876@mykerinos.kheops.frmug.org> <16971.20409.724194.997777@davenant.relativity.greenend.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <16971.20409.724194.997777@davenant.relativity.greenend.org.uk>
X-message-flag: Outlook is a good virus spreading tool. It can send mail, too.
X-pot_a_miel: honeypot@kheops.frmug.org
User-Agent: Mutt/1.5.8i
Delivered-To: 71027-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Quoting Ian Jackson (ian@davenant.greenend.org.uk):

> It didn't look like a race to me, rather a plain bug.
> 
> I would be happy for this report to be closed if usermode in the
> current version of passwd is capable of executing
>  usermod -G <group> <user>
> but I think someone should test it ...
> 

root@mykerinos:/etc/pam.d# members audio
bubulle milou dvd
root@mykerinos:/etc/pam.d# usermod -G audio tintin
root@mykerinos:/etc/pam.d# members audio
bubulle milou dvd tintin
root@mykerinos:/etc/pam.d# ls -l /etc/group
-rw-r--r--  1 root root 941 2005-03-31 07:08 /etc/group
root@mykerinos:/etc/pam.d# grep audio /etc/group
audio:x:29:bubulle,milou,dvd,tintin
root@mykerinos:/etc/pam.d# grep audio /etc/gshadow
audio:*::bubulle,tintin,milou,dvd

Hence closing..:-)