From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 28 17:16:15 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C6A106564A for ; Tue, 28 Jun 2011 17:16:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id DCAEB8FC20 for ; Tue, 28 Jun 2011 17:16:14 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p5SGxUMk007693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jun 2011 11:59:30 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p5SGxMwu008281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jun 2011 11:59:22 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p5SGxDQA008106; Tue, 28 Jun 2011 11:59:13 -0500 (CDT) (envelope-from dan) Date: Tue, 28 Jun 2011 11:59:13 -0500 From: Dan Nelson To: Chris Rees Message-ID: <20110628165911.GC44024@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Tue, 28 Jun 2011 11:59:30 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: hackers@freebsd.org Subject: Re: Default value for UIDs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 17:16:15 -0000 In the last episode (Jun 28), Chris Rees said: > Hi all, > > [crees@zeus]~% tail -n 2 /usr/ports/UIDs > dbxml:*:949:949::0:0:dbXML user:/nonexistent:/sbin/nologin > nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin > [crees@zeus]~% grep crees /etc/passwd > crees:*:1001:1001:Chris Rees:/home/crees:/bin/tcsh > chris:*:1001:1001:Chris Rees:/home/crees:/bin/tcsh > [crees@zeus]~% > > I'm a little concerned at how close the ports UIDs are getting to the > username space... There are only 216 entries in UIDs, though, so if people are just using "last entry + 1" when adding new ones, they should probably start filling the gaps instead. The 100s and 200s are pretty dense, but 350-399 only has 5 entries, 400-499 has 4, 600-699 has 7, 700-799 has 3, etc. -- Dan Nelson dnelson@allantgroup.com