Date: Tue, 20 Jan 2004 14:11:01 +0000 From: Ceri Davies <ceri@FreeBSD.org> To: Lukas Ertl <l.ertl@univie.ac.at> Cc: freebsd-doc@freebsd.org Subject: Re: docs/61625: Wrong maximal UID and GID in Handbook, section 8.2 Message-ID: <20040120141101.GJ47004@submonkey.net> In-Reply-To: <20040120144344.G90355@pcle2.cc.univie.ac.at> References: <200401201340.i0KDePlc030253@freefall.freebsd.org> <20040120144344.G90355@pcle2.cc.univie.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 20, 2004 at 02:45:09PM +0100, Lukas Ertl wrote: > On Tue, 20 Jan 2004, Marc Fonvieille wrote: > > > The following reply was made to PR docs/61625; it has been noted by GNATS. > > > > From: Marc Fonvieille <blackend@FreeBSD.org> > > To: Marian Cerny <jojo@matfyz.cz> > > Cc: freebsd-gnats-submit@FreeBSD.org > > Subject: Re: docs/61625: Wrong maximal UID and GID in Handbook, section 8.2 > > Date: Tue, 20 Jan 2004 14:36:13 +0100 > > > > On Tue, Jan 20, 2004 at 05:09:23AM -0800, Marian Cerny wrote: > > > >Description: > > > In section 8.2 Introduction is written: > > > The UID is a number from 0 to 65536 used to ... > > > The GID is a number from 0 to 65536 used to ... > > > > > > By adding a line to passwd (using vipw): > > > test::65536:65536::0:0:test:/:/sbin/nologin > > > > > > I get this as a response: > > > pwd_mkdb: 65536 > recommended max uid value (65535) > > > pwd_mkdb: 65536 > recommended max gid value (65535) > > > > You forgot to add the line: > > vipw: done > > > > It's just a warning cause some programs may want short IDs/GIDs. > > However maybe we should say "The UID is, by default, a number from 0 > > to 65535..." > > Actually, the UID can be much larger, since it's defined as a 32bit > unsigned int (on x86). This is already documented in pwd_mkdb(8). Search for PW_SCAN_BIG_IDS, which will make these warnings go away when set in the environment. Ceri --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040120141101.GJ47004>