[Pkg-shadow-devel] Bug#282184: marked as forwarded (passwd:
groupadd fails if group exists in the NIS database)
Debian Bug Tracking System
owner at bugs.debian.org
Thu Sep 29 19:20:17 UTC 2005
Your message dated Thu, 29 Sep 2005 18:46:27 +0200
with message-id <20050929164625.GE23564 at djedefre.onera>
has caused the Debian Bug report #282184,
regarding passwd: groupadd fails if group exists in the NIS database
to be marked as having been forwarded to the upstream software
author(s) Tomasz Kloczko <kloczek at zie.pg.gda.pl>.
(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 282184-forwarded) by bugs.debian.org; 29 Sep 2005 17:06:10 +0000
>From bubulle at kheops.frmug.org Thu Sep 29 10:06:10 2005
Return-path: <bubulle at kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EL1rF-0000IE-00; Thu, 29 Sep 2005 10:06:09 -0700
Received: from localhost (localhost [127.0.0.1])
by kheops.perrier.eu.org (Postfix) with ESMTP id 293424F97E;
Thu, 29 Sep 2005 19:05:12 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 03925-05; Thu, 29 Sep 2005 19:05:09 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
by kheops.perrier.eu.org (Postfix) with ESMTP id 68A044F97F;
Thu, 29 Sep 2005 19:05:01 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 1000)
id EFA0C40A271; Thu, 29 Sep 2005 18:46:27 +0200 (CEST)
Date: Thu, 29 Sep 2005 18:46:27 +0200
From: Christian Perrier <bubulle at debian.org>
To: Tomasz Kloczko <kloczek at zie.pg.gda.pl>
Cc: Vincent Lefevre <vincent at vinc17.org>,
282184-forwarded at bugs.debian.org
Subject: Re: Bug#282184: [Pkg-shadow-devel] Bug#282184: More information needed for this bug
Message-ID: <20050929164625.GE23564 at djedefre.onera>
References: <20050927161257.GC25499 at djedefre.onera> <20050927204555.GY17224 at ay.vinc17.org> <20050928052122.GX25499 at djedefre.onera> <20050928093531.GI17224 at ay.vinc17.org> <20050928161621.GA26213 at djedefre.onera> <20050928194740.GP17224 at ay.vinc17.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ"
Content-Disposition: inline
In-Reply-To: <20050928194740.GP17224 at ay.vinc17.org>
User-Agent: Mutt/1.5.11
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 282184-forwarded at 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=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
tags 282184 patch
thanks
Quoting Vincent Lefevre (vincent at vinc17.org):
> Here it was the *same* GID. This is a good idea
> * to avoid clashes with the NIS database by making some kind of
> copy of the NIS database locally,
> * to avoid some packages from stealing GIDs normally reserved for
> the NIS database (the slocate package created a group with GID
> 1001).
IIRC, it shouldn't assume that UID's above 1000 may be reserved. So,
the bug is probably in this package.
> > which certainly low level tools shouldn't support.
>
> Then the documentation should be fixed.
Attached patch. This is the only fix I think is worth it.
Tomasz, please let us know if you apply these "fixes" (actually
additions to useradd and groupadd man pages) and to which version
you'll apply them.
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="useradd.8.xml.diff"
--- useradd.8.xml.ori 2005-09-29 18:36:01.171975943 +0200
+++ useradd.8.xml 2005-09-29 18:42:13.774015173 +0200
@@ -340,6 +340,13 @@
You may not add a user to a NIS group. This must be performed on the
NIS server.
</para>
+
+ <para>
+ Similarly, if the username already exists in an external group
+ database such as NIS, <command>useradd</command> will deny
+ the user account creation request.
+ </para>
+
<para>
Usernames must begin with a lower case letter or an underscore, and
only lower case letters, underscores, dashes, and dollar signs may
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="groupadd.8.xml.diff"
--- groupadd.8.xml.ori 2005-09-29 18:34:01.872304901 +0200
+++ groupadd.8.xml 2005-09-29 18:42:07.780237493 +0200
@@ -130,6 +130,15 @@
follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]
</para>
<para>Groupnames may only be up to 16 characters long.</para>
+
+ <para>
+ If the groupname already exists in an external group database
+ such as NIS, <command>groupadd</command> will deny the group
+ creation request.
+ </para>
+
+ <para>Groupnames may only be up to 16 characters long.</para>
+
</refsect1>
<refsect1 id='exit_values'>
--mP3DRpeJDSE+ciuQ--
More information about the Pkg-shadow-devel
mailing list