svn commit: r359341 - stable/11/etc

Rodney W. Grimes freebsd at gndrsh.dnsmgr.net
Fri Mar 27 00:45:39 UTC 2020


> On Thu, Mar 26, 2020 at 11:28:51AM -0700, Rodney W. Grimes wrote:
> > > Author: brooks
> > > Date: Thu Mar 26 17:59:48 2020
> > > New Revision: 359341
> > > URL: https://svnweb.freebsd.org/changeset/base/359341
> > > 
> > > Log:
> > >   MFC r359247:
> > >   
> > >   Add the tests user, an unprivileged user from the default kyua config.
> > >   
> > >   This is a preparatory commit for D24103.
> > >   
> > >   Reviewed by:	emaste
> > >   Obtained from:	CheriBSD
> > >   Sponsored by:	DARPA
> > > 
> > > Modified:
> > >   stable/11/etc/master.passwd
> > > Directory Properties:
> > >   stable/11/   (props changed)
> > > 
> > > Modified: stable/11/etc/master.passwd
> > > ==============================================================================
> > > --- stable/11/etc/master.passwd	Thu Mar 26 17:58:52 2020	(r359340)
> > > +++ stable/11/etc/master.passwd	Thu Mar 26 17:59:48 2020	(r359341)
> > > @@ -24,4 +24,5 @@ auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/
> > >  www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
> > >  _ypldap:*:160:160::0:0:YP LDAP unprivileged user:/var/empty:/usr/sbin/nologin
> > >  hast:*:845:845::0:0:HAST unprivileged user:/var/empty:/usr/sbin/nologin
> > > +tests:*:977:65534::0:0:Unprivileged user for tests:/nonexistent:/usr/sbin/nologin
> > 
> > This should be group 977.
> > No one should be a member of group 65534 other than nobody.
> 
> I'm happy to make this change, but we should be aware this will be
> moderately disruptive as the current line matches the entry in ports/UIDs
> so the new entry will conflict with existing passwd files where
> devel/kyua is installed.

It should be corrected all places, the group 65534 is very specific to NFS and
no user should ever be given that groupid.
The fact this was done in some port makes it no less of a mistake.

> -- Brooks

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-stable-11 mailing list