From owner-freebsd-arch Thu Oct 18 21:49:58 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 809B937B401 for ; Thu, 18 Oct 2001 21:49:55 -0700 (PDT) Received: (qmail 57709 invoked by uid 1001); 19 Oct 2001 04:49:49 -0000 Date: Thu, 18 Oct 2001 21:49:49 -0700 From: Sean Chittenden To: Bill Fenner Cc: ache@nagual.pp.ru, arch@freebsd.org Subject: Re: UID proposal for ports (apache, postfix, squid, postgres)... Message-ID: <20011018214949.A53604@rand.tgd.net> References: <20011017155854.A43168@nagual.pp.ru> <26334.1003400552@axl.seasidesoftware.co.za> <20011018214551.A23964@ns2.freenix.org> <20011018131556.D54066@rand.tgd.net> <200110190309.UAA13215@windsor.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110190309.UAA13215@windsor.research.att.com>; from "fenner@research.att.com" on Thu, Oct 18, 2001 at = 08:09:07PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >The port (Apache, postfix, squid, etc) creates their necessary UID/GIDs > >using reserved ID numbers that are hard coded (ex: apache == www == 80). > > Isn't this how it works [or, at least, is documented to work] now? > (e.g. see section 15.15 of the porter's handbook.) Perfect! Thanks Bill, this is exactly what I was suggesting... why can't apache conform to this? Have the UID added at install time according to this page. I really think everyone would be happy if they conformed to the following. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/x1960.html I'm off to go and submit a few PRs to have this fixed in a few apps that I know aren't following this rule. What's the UID range for system apps? Less than 500? 100 seems a little low. -sc -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message