[Pkg-shadow-devel] UID == (uid_t)-1

Peter Vrabec pvrabec at redhat.com
Mon Mar 23 16:45:26 UTC 2009

thnx. Nicolas,

there is still one problem for strtol(). errno should be set to zero before 
calling strtol.

man strtol

There is also a bug report in our bugzilla.

Best Regards,
On Monday 09 March 2009 12:43:35 am Nicolas François wrote:
> On Wed, Feb 25, 2009 at 12:41:19AM +0100, nicolas.francois at centraliens.net 
> > I will forbid the creation of user (resp. group) whose ID evaluates as
> > (uid_t)-1 (resp. (gid_t)-1).
> > (This impacts useradd, usermod, newusers, groupadd, groupmod, pwconv,
> > pwunconv, grpconv, grpunconv, vipw)
> I committed a fix for useradd, usermod, newusers, groupadd, groupmod.
> Others probably do not need any changes.
> Still not tested.
> > I will also add a check in pwck and grpck.
> Done too.
> Best Regards,

More information about the Pkg-shadow-devel mailing list