Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 14:44:58 -0400 (EDT)
From:      Ayan George <ayan@kiwi.datasys.net>
To:        Steve Ames <steve@cioe.com>, freebsd-isp@freebsd.org
Subject:   Re: UID Limits
Message-ID:  <199905251844.OAA02733@kiwi.datasys.net>

next in thread | raw e-mail | index | archive | help
	Steve,

	/usr/include/sys/types.h defines uid_t as a  u_int32_t.

	/usr/include/sys/inttypes.h typedefs u_int32_t to __int32_t.

	/usr/include/machine/ansi.h typedefs __int32_t to int.

	So, uid_t is an int.

	sizeof( int ) on my 4.0-CURRENT machine is 4 bytes.

	2^32 = 4294967296

	So, I think thats how many UIDs we can have.  Is that right
	everyone?   If so, thats a lot of UIDs.

	-Ayan


[ Quoted message from Steve Ames, recieved May 25,  1:24pm.]

> 
> This is probably a silly question... how many UIDs can I have on a
> single system? UID seems to be an int type so I'd say around
> 65000ish. Rcently, however, I heard of a Solaris upgrade that would
> allow it to go into the millions and wondered about FreeBSD...
> 
> 						-Steve
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

[ End message from Steve Ames. ]



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




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