geoffc@strategicdata.com.au, 284688@bugs.debian.org
2004-Dec-08 01:55 UTC
[Adduser-devel] Bug#284688: adduser: adding user to group fails if group already has an invalide user in it
Package: adduser Version: 3.59 Severity: normal It seems that if a group somehow has a user in it that does not exist, you can''t add a user to that group anymore. root@host:~$ adduser geoffc src Password: Adding user `geoffc'' to group `src''... gpasswd: unknown user kierstyg adduser: `/usr/bin/gpasswd -M user1,user2,user3,kierstyg,geoffc src'' returned error code 1. Aborting. Cleaning up. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, ''testing'') Architecture: i386 (i686) Kernel: Linux 2.4.27-1-686-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages adduser depends on: ii debconf 1.4.30.10 Debian configuration management sy ii passwd 1:4.0.3-30.3 Change and administer password and ii perl-base 5.8.4-3 The Pathologically Eclectic Rubbis -- debconf information: * adduser/homedir-permission: true
Marc Haber
2005-Feb-05 11:03 UTC
[Adduser-devel] Bug#284688: adduser: adding user to group fails if group already has an invalide user in it
tags #284688 confirmed thanks On Wed, Dec 08, 2004 at 12:55:37PM +1100, geoffc@strategicdata.com.au wrote:> It seems that if a group somehow has a user in it that does not exist, > you can''t add a user to that group anymore.adduser reads the member list of the group, adds the new user, and calls gpasswd to write back the new member list. This fails if the member list has been invalid in the first place. I confirm this bug, and have added a FIXME to the code. Greetings Marc
Debian Bug Tracking System
2005-Feb-05 11:18 UTC
[Adduser-devel] Processed: Re: adduser: adding user to group fails if group already has an invalide user in it
Processing commands for control@bugs.debian.org:> tags #284688 confirmedBug#284688: adduser: adding user to group fails if group already has an invalide user in it There were no tags set. Tags added: confirmed> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2005-Jul-16 17:05 UTC
[Adduser-devel] Bug#284688: marked as done (adduser: adding user to group fails if group already has an invalide user in it)
Your message dated Fri, 15 Jul 2005 14:17:09 -0400 with message-id <E1DtUkH-00046S-00@newraff.debian.org> and subject line Bug#284688: fixed in adduser 3.65 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; 8 Dec 2004 01:55:40 +0000>From geoffc@strategicdata.com.au Tue Dec 07 17:55:40 2004Return-path: <geoffc@strategicdata.com.au> Received: from sdcarl02.strategicdata.com.au (mail.strategicdata.com.au) [203.214.67.82] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Cbr3M-0007Ya-00; Tue, 07 Dec 2004 17:55:40 -0800 Received: from rack002.mel.strategicdata.com.au (rack002.mel.strategicdata.com.au [192.168.1.203]) by mail.strategicdata.com.au (Postfix) with ESMTP id 1B02812B804E; Wed, 8 Dec 2004 12:55:38 +1100 (EST) Received: from mail.strategicdata.com.au (sd01.mel.strategicdata.com.au [192.168.1.103]) by rack002.mel.strategicdata.com.au ([192.168.1.203]); Wed, 08 Dec 2004 01:55:38 +0000 Received: by mail.strategicdata.com.au (Postfix, from userid 1188) id 042F112B804E; Wed, 8 Dec 2004 12:55:37 +1100 (EST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: geoffc@strategicdata.com.au To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: adduser: adding user to group fails if group already has an invalide user in it X-Mailer: reportbug 3.2 Date: Wed, 08 Dec 2004 12:55:37 +1100 Message-Id: <20041208015537.042F112B804E@mail.strategicdata.com.au> Delivered-To: submit@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE, NO_REAL_NAME autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: adduser Version: 3.59 Severity: normal It seems that if a group somehow has a user in it that does not exist, you can''t add a user to that group anymore. root@host:~$ adduser geoffc src Password: Adding user `geoffc'' to group `src''... gpasswd: unknown user kierstyg adduser: `/usr/bin/gpasswd -M user1,user2,user3,kierstyg,geoffc src'' returned error code 1. Aborting. Cleaning up. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, ''testing'') Architecture: i386 (i686) Kernel: Linux 2.4.27-1-686-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages adduser depends on: ii debconf 1.4.30.10 Debian configuration management sy ii passwd 1:4.0.3-30.3 Change and administer password and ii perl-base 5.8.4-3 The Pathologically Eclectic Rubbis -- debconf information: * adduser/homedir-permission: true --------------------------------------- Received: (at 284688-close) by bugs.debian.org; 15 Jul 2005 18:23:07 +0000>From katie@ftp-master.debian.org Fri Jul 15 11:23:07 2005Return-path: <katie@ftp-master.debian.org> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DtUq3-0004Iz-00; Fri, 15 Jul 2005 11:23:07 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DtUkH-00046S-00; Fri, 15 Jul 2005 14:17:09 -0400 From: Marc Haber <mh+debian-packages@zugschlus.de> To: 284688-close@bugs.debian.org X-Katie: $Revision: 1.56 $ Subject: Bug#284688: fixed in adduser 3.65 Message-Id: <E1DtUkH-00046S-00@newraff.debian.org> Sender: Archive Administrator <katie@ftp-master.debian.org> Date: Fri, 15 Jul 2005 14:17:09 -0400 Delivered-To: 284688-close@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-Level: 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 Source: adduser Source-Version: 3.65 We believe that the bug you reported is fixed in the latest version of adduser, which is due to be installed in the Debian FTP archive: adduser_3.65.dsc to pool/main/a/adduser/adduser_3.65.dsc adduser_3.65.tar.gz to pool/main/a/adduser/adduser_3.65.tar.gz adduser_3.65_all.deb to pool/main/a/adduser/adduser_3.65_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 284688@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated adduser package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 15 Jul 2005 18:03:40 +0000 Source: adduser Binary: adduser Architecture: source all Version: 3.65 Distribution: unstable Urgency: low Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org> Changed-By: Marc Haber <mh+debian-packages@zugschlus.de> Description: adduser - Add and remove users and groups Closes: 284688 308175 315071 315250 316089 317944 Changes: adduser (3.65) unstable; urgency=low . * do not abort if chage returns exit code 3. This is an indication that password aging cannot be set due to shadow not being enabled. Closes: #316089, #317944. * get_group_members now filters out non-existent users. Closes: #284688, #315071, #315250 * Use getpwent to determine whether a to-be-deleted group is primary group for users to enhance compatibility with non-/etc/passwd backends. Closes: #308175 * Standards-Version: 3.6.2 (no changes needed) Files: d00f0101aafb611e422f425acaafd7c0 637 base important adduser_3.65.dsc eb05e197db61189308df4733d9772d68 108680 base important adduser_3.65.tar.gz 73eaaa39633be00cb7b75dbb057d48bd 100144 base important adduser_3.65_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iEYEARECAAYFAkLX+4wACgkQgZalRGu6PITpagCgmIJ9FxSQuCkzWyjJ9+AvgjN+ lC8An0UvoeshcFfDZE3GrXLLQPaFWGVD =/gU/ -----END PGP SIGNATURE-----