[Pkg-shadow-devel] Bug#282184: More information needed for this bug

Christian Perrier bubulle at debian.org
Wed Sep 28 05:21:22 UTC 2005


("addgroup should not refuse adding groups that already exist with the
same name in an external database such as NIS")

> > I see no real problem in this. Which behaviour are you actually
> > expecting?
> 
> The group should be created in the local database, as the user
> requested it.

Uh.

I'm damn sure this is not a so good idea. For instance high level
utilities such as  adduser will probably at some moment include
support for external databases such as LDAP (or NIS...if someone is
still using this). I really wonder how they could behave in the case
two groups with the same name exist in both database:

addgroup toto spaces

-->in which of the two "spaces" group should toto be added?

So, in short, I think that passwd utilities are right using the getent
calls to get the list of what exists and what doesn't.

Tomasz, comments ?






More information about the Pkg-shadow-devel mailing list