From owner-freebsd-doc@FreeBSD.ORG Tue Jan 20 05:45:20 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C8DB16A4CE; Tue, 20 Jan 2004 05:45:20 -0800 (PST) Received: from mailbox.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A66643D46; Tue, 20 Jan 2004 05:45:18 -0800 (PST) (envelope-from l.ertl@univie.ac.at) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) i0KDj9TC445526; Tue, 20 Jan 2004 14:45:11 +0100 Date: Tue, 20 Jan 2004 14:45:09 +0100 (CET) From: Lukas Ertl To: Marc Fonvieille In-Reply-To: <200401201340.i0KDePlc030253@freefall.freebsd.org> Message-ID: <20040120144344.G90355@pcle2.cc.univie.ac.at> References: <200401201340.i0KDePlc030253@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: mailbox 4246; Body=0 Fuz1=0 Fuz2=0 cc: freebsd-doc@freebsd.org Subject: Re: docs/61625: Wrong maximal UID and GID in Handbook, section 8.2 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 13:45:20 -0000 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 > To: Marian Cerny > 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). But as you say, it might cause interoperability problems with older programs that expect a 16 bit UID. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/