cvs commit: ports UIDs

Pav Lucistnik pav at FreeBSD.org
Tue Jun 14 21:17:37 UTC 2011


Olli Hauer píše v út 14. 06. 2011 v 23:15 +0200:
> On 2011-06-14 22:41, Chris Rees wrote:
> > 2011/6/14 Pav Lucistnik <pav at 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.

What for? They will never be added to the system (because group of same
name is already present)


-- 
-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
It also explains why paper clips just lie there while you look at them,
but as soon as you turn your back, they run away, giggling wildly, and
transform themselves into coat hangers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20110614/dc6158b7/attachment-0001.pgp


More information about the cvs-all mailing list