Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 1999 14:30:33 -0500
From:      "Eric D. Fehr" <fehr@idirect.com>
To:        freebsd-questions@freebsd.org
Subject:   UID > 64K question
Message-ID:  <3.0.5.32.19990304143033.007e8dc0@proteus.idirect.com>

next in thread | raw e-mail | index | archive | help
Why do the password file recompilation routines warn if a UID is greater
than 64K, when the numeric type used for uid (uid_t) is cast as a 32 bit
unsigned integer?

The adduser perl script has 32000 defined as the max uid, but we have had
no problems whatsoever taking this up to around 80K so far.

Is it just paranoia that someone will code something that casts uid into a
16bit signed/unsigned int?

Eric


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990304143033.007e8dc0>