[Pkg-shadow-devel] Bug#401038: useradd: Issue with the position of
the -u option
Nicolas François
nicolas.francois at centraliens.net
Sun Apr 15 16:57:54 UTC 2007
tags 401038 unreproducible
thanks
Hello,
On Thu, Nov 30, 2006 at 02:38:06PM +0100, Laurent Jourdren wrote:
>
> There is an issue with the position of uid option "-u".
> When this option is after the group option (-g), useradd fail to create the user.
>
> The following command lines show the matter:
>
> # /usr/sbin/useradd -d /home/toto -g smbusers -s /bin/false -u 15555 toto
> useradd : argument numérique « 15555 » incorrect
> # /usr/sbin/useradd -d /home/toto -g smbusers -u 15555 -s /bin/false toto
> useradd : argument numérique « 15555 » incorrect
>
> Whereas when the "-u" is before the "-g" option, the user is correctly created.
> # /usr/sbin/useradd -d /home/toto -u 15555 -g smbusers -s /bin/false toto
Sorry for not checking earlier.
I cannot reproduce the failures. Can you?
I checked with the current version of passwd (4.0.18.1-7) and libc6 (2.5-1),
and also tried with the ones you reported (1:4.0.18.1-5 and 2.3.6.ds1-7),
on i386.
Kind Regards,
--
Nekral
More information about the Pkg-shadow-devel
mailing list