Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 08:13:15 -0400
From:      "James E. Housley" <jeh@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        ports@FreeBSD.org, developers@FreeBSD.org
Subject:   Re: HEADS UP: Apache port change from nobody:nogroup to www:www planned
Message-ID:  <3BCD75DB.8B23CEDC@FreeBSD.org>
References:  <20011017155854.A43168@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BCD75DB.8B23CEDC>