Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 09:19:30 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Darren Pilgrim <dmp@pantherdragon.org>
Cc:        Jamie Heckford <jamie@tridentmicrosystems.co.uk>, freebsd-hackers@freebsd.org
Subject:   Re: UID Limit
Message-ID:  <20020523091930.N349@straylight.oblivion.bg>
In-Reply-To: <3CEC2F81.718CBE37@pantherdragon.org>; from dmp@pantherdragon.org on Wed, May 22, 2002 at 04:53:37PM -0700
References:  <001901c201a5$25b8e0e0$4464a8c0@JAMIEHECKFORD> <20020522192114.M349@straylight.oblivion.bg> <3CEC2F81.718CBE37@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--6J7GEvtanOfV9oXA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 22, 2002 at 04:53:37PM -0700, Darren Pilgrim wrote:
> Peter Pentchev wrote:
> >=20
> > On Wed, May 22, 2002 at 04:27:12PM +0100, Jamie Heckford wrote:
> > > Hi,
> > >
> > > I was wondering if anyone would be able to tell me what the limit is =
on a
> > > UID? Ie what is the highest integer it can go up to.....
> > >
> > > I suppose as well some applications have different values.. or am I
> > > completly wrong :)
> >=20
> > The functions that deal with user ID's take a parameter of type uid_t.
> > The uid_t type is defined in <sys/types.h> as u_int32_t.  Hence, at lea=
st
> > theoretically, FreeBSD supports uid's in the range 0 to 4G-1.
>=20
> It supports them that high, yes, but I believe they wrap at 99999.

I believe you are thinking of pid's (process ID's), not uid's (user ID's).

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contradicts itself - or rather - well, no, actually it doesn'=
t!

--6J7GEvtanOfV9oXA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE87Iny7Ri2jRYZRVMRAgtGAKCCgKv+x+EEbOEGBhX+u1DIeUfS+QCgpZEd
7MDrUP+Xvq8At7q5LL5QQQY=
=Oc2G
-----END PGP SIGNATURE-----

--6J7GEvtanOfV9oXA--

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




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