Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2011 23:15:58 +0200
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        Chris Rees <crees@freebsd.org>
Cc:        cvs-ports@freebsd.org, pav@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports UIDs
Message-ID:  <4DF7CF8E.7000703@FreeBSD.org>
In-Reply-To: <BANLkTi=FeXUcAxE8ReP%2BJtJWxSGoVTEiOA@mail.gmail.com>
References:  <201106141639.p5EGdJ2k003510@repoman.freebsd.org> <1308083456.84213.7.camel@hood.oook.cz> <BANLkTi=FeXUcAxE8ReP%2BJtJWxSGoVTEiOA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-06-14 22:41, Chris Rees wrote:
> 2011/6/14 Pav Lucistnik <pav@freebsd.org>:
>> Maybe I missed something, but why do we need nobody user here, when we
>> already have it in default master.passwd on every new installation?
>>
>> $ grep nobody /usr/src/etc/master.passwd
>> nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
>>
> 
> Because the code in bsd.port.mk fails if a group is in GROUPS but not GIDs.
> 
> Of course, I realised as you pointed that out that it's unnecessary,
> because the nobody reference isn't in GROUPS, so not parsed by that
> code.
> 
> Should I remove the line in UIDs / GIDs?
> 

I think it's not a bad Idea to have even the default system
users in ports/GIDs ports/UIDs.

For example the following predefined groups are at the moment
not in ports/GIDs
- operator
- mail

But they should go in with this lines to support bacula/postfix/clamav
- operator:*:5:bacula
- mail:*:6:clamav,postfix




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF7CF8E.7000703>