From owner-freebsd-ports Wed Oct 17 5:13:40 2001 Delivered-To: freebsd-ports@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [66.31.234.148]) by hub.freebsd.org (Postfix) with ESMTP id 1553937B407; Wed, 17 Oct 2001 05:13:33 -0700 (PDT) Received: (from root@localhost) by thehousleys.net (8.11.6/8.11.2) id f9HCDGE60391; Wed, 17 Oct 2001 08:13:16 -0400 (EDT) (envelope-from jeh@FreeBSD.org) Received: from FreeBSD.org (baby.int.thehousleys.net [192.168.0.24]) (authenticated) by thehousleys.net (8.11.6/8.11.6) with ESMTP id f9HCDFH60383; Wed, 17 Oct 2001 08:13:15 -0400 (EDT) (envelope-from jeh@FreeBSD.org) Message-ID: <3BCD75DB.8B23CEDC@FreeBSD.org> Date: Wed, 17 Oct 2001 08:13:15 -0400 From: "James E. Housley" Organization: FreeBSD X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Andrey A. Chernov" Cc: ports@FreeBSD.org, developers@FreeBSD.org Subject: Re: HEADS UP: Apache port change from nobody:nogroup to www:www planned References: <20011017155854.A43168@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Andrey A. Chernov" wrote: > > Due to Apache mis-use of nobody:nogroup UID/GID (user nobody must not own > any file in the system), I plan switch apache to www:www instead. It > breaks some related ports and they should be fixed by their maintainers. > Moreover, it breaks existen cgi-bin-write setups too, group nogroup should > be changed to www by webmasters. I am all for this and have made this change at several of my websites. > > Questions are: > > What is the best way to _automatically_ add www:www to > /etc/{passwd,group}? I think about 'pw' command, but it will be nice if > somebody already have working example. > > I plan to add www:www to default etc directory passwd/group too. What is > the best numerical value, if any, for www UID/GID? > There are several ports to look into. ports/database/mysql-* and ports/database/postgresql*, both of these create users. majordomo does also. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net jhousley@SimTel.Net http://www.SimTel.Net --------------------------------------------------------------------- Artificial intelligence is no match for natural stupidity. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message