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

Nicolas François nicolas.francois at centraliens.net
Sun Mar 8 23:43:35 UTC 2009


On Wed, Feb 25, 2009 at 12:41:19AM +0100, nicolas.francois at centraliens.net wrote:
> 
> 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,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list