From owner-freebsd-questions Thu Mar 4 12:20:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id 35B8614D1D for ; Thu, 4 Mar 1999 12:18:10 -0800 (PST) (envelope-from nrahlstr@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id OAA07166; Thu, 4 Mar 1999 14:17:39 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma007133; Thu, 4 Mar 99 14:17:28 -0600 Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id OAA19666; Thu, 4 Mar 1999 14:17:29 -0600 (CST) Message-ID: <19990304141728.A19092@winternet.com> Date: Thu, 4 Mar 1999 14:17:28 -0600 From: Nathan Ahlstrom To: "Eric D. Fehr" , freebsd-questions@FreeBSD.ORG Subject: Re: UID > 64K question References: <3.0.5.32.19990304143033.007e8dc0@proteus.idirect.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <3.0.5.32.19990304143033.007e8dc0@proteus.idirect.com>; from Eric D. Fehr on Thu, Mar 04, 1999 at 02:30:33PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Eric D. Fehr" wrote: > 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? There is some issue with quotas and large UID. There was recently a discussion on the hackers mailing list about this. http://www.freebsd.org/cgi/getmsg.cgi?fetch=302458+0+archive/1999/freebsd-hackers/19990221.freebsd-hackers You should be able to read the entire thread from this pointer. Good Luck, Nathan -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message