svn commit: r413604 - in head/Mk: . Scripts

Mathieu Arnold mat at FreeBSD.org
Mon Apr 18 21:35:03 UTC 2016



+--On 18 avril 2016 21:25:11 +0200 olli hauer <ohauer at gmx.de> wrote:
| On 2016-04-18 20:39, Mathieu Arnold wrote:
|> Author: mat
|> Date: Mon Apr 18 18:39:44 2016
|> New Revision: 413604
|> URL: https://svnweb.freebsd.org/changeset/ports/413604
|> 
|> Log:
|>   Extract the users/groups creation into a separate shell script.
|>   
|>   This adds a few features:
|>   - it checks that the UID line has the right number of fields [1]
|>   - it tells the user that there are groups that he may want to remove
|>   [2]
|>   
|>   PR:		208800, 173318 [1], 157546 [2]
|>   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208800
|>   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208800 Submitted by:
|>   	mat
|>   Sponsored by:	Absolight
|>   Differential Revision:	https://reviews.freebsd.org/D5939
|> 
| ...
|> Modified: head/Mk/bsd.port.mk
|> ========================================================================
|> ====== --- head/Mk/bsd.port.mk	Mon Apr 18 18:17:19 2016	(r413603)
|> +++ head/Mk/bsd.port.mk	Mon Apr 18 18:39:44 2016	(r413604)
|> @@ -1245,6 +1245,10 @@ GID_OFFSET?=	0
|>  # alpha numeric sort order
|>  USERS_BLACKLIST=	_dhcp _pflogd auditdistd bin bind daemon games hast
|>  kmem mailnull man news nobody operator pop proxy root smmsp sshd toor
|>  tty uucp www
|>  
|> +# predefined accounts from src/etc/group
|> +# alpha numeric sort order
|> +GROUPS_BLACKLIST=	_dhcp _pflogd audit authpf bin bind daemon dialer ftp
|> games guest hast kmem mail mailnull man network news nobody nogroup
|> operator proxy smmsp sshd staff sys tty unbound uucp wheel www
| ...
| 
| 
| Hi Mathieu,
| 
| nice rework :)
| 
| I've done a quick compare of the USERS_BLACKLIST and /etc/ftpusers on a
| 10.x system and noted "unbound" is missing in both BLACKLISTS. Would you
| mind to extend the BLACKLIST's?

Mmmm, I admit, I did not check the USERS blacklist, feel free to add
unbound to it. (it *is* in the GROUPS one.)

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160418/d901c028/attachment.sig>


More information about the svn-ports-all mailing list