[Pkg-shadow-devel] [patch] fix up useradd handling with usergroups
vapier at gentoo.org
Mon Feb 25 04:46:16 UTC 2008
On Sunday 24 February 2008, Nicolas François wrote:
> Hello Mike,
> On Sun, Feb 24, 2008 at 07:05:07AM -0500, vapier at gentoo.org wrote:
> > unfortunately, the exact details are fuzzy as this was posted to the old
> > upstream shadow list quite a while ago before it died, and i dont think
> > the mail archives are available for me to refer to.
> > basically, useradd misbehaves when not using the "-g" option wrt the
> > USERGROUPS_ENAB option. the useradd code has logic for handling of an
> > '-n' flag, but it never fully implemented it.
> > original Gentoo bug:
> > http://bugs.gentoo.org/128715
> Thanks for raising this topic.
> There is one issue with your patch (for more details, see also
> The -n option currently exists in Debian, Fedora, and Gentoo with
> different meanings. So I would prefer to use completely different options
> and avoid incompatibilities.
i'd say the -n option i implemented is the intended. but that doesnt really
> I would currently prefer the attached patch (useradd-n.patch),
> distributions could then add one of useradd-n.gentoo.patch or
> useradd-n.debian.patch for backward compatibility.
it doesnt matter to me as long as it gets fixed ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20080224/94f70a1a/attachment.pgp
More information about the Pkg-shadow-devel