Create and use a tests group for the tests user.

Nobody but nobody should be a member of the nobody group.

PR:		245107
Approved by:	maintainer timeout
Sponsored by:	DARPA
This commit is contained in:
Brooks Davis 2020-04-22 18:01:16 +00:00
parent 90562bda6b
commit 1c71c2d5a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532493
4 changed files with 11 additions and 2 deletions

2
GIDs
View File

@ -917,7 +917,7 @@ boinc:*:973:
radicale:*:974:
unifi:*:975:
minetest:*:976:
# free: 977
tests:*:977:
_dnscrypt-proxy:*:978:
ums:*:979:
hbase:*:980:

2
UIDs
View File

@ -922,7 +922,7 @@ boinc:*:973:973::0:0:BOINC user:/var/db/boinc:/bin/sh
radicale:*:974:974::0:0:Radicale daemon:/nonexistent:/usr/sbin/nologin
unifi:*:975:975::0:0:Unifi Wireless Controller:/nonexistent:/usr/sbin/nologin
minetest:*:976:976::0:0:& server:/nonexistent:/usr/sbin/nologin
tests:*:977:65534::0:0:Unprivileged user for tests:/nonexistent:/usr/sbin/nologin
tests:*:977:977::0:0:Unprivileged user for tests:/nonexistent:/usr/sbin/nologin
_dnscrypt-proxy:*:978:978::0:0:dnscrypt-proxy user:/var/empty:/usr/sbin/nologin
ums:*:979:979::0:0:Universal Media Server:/nonexistent:/usr/sbin/nologin
hbase:*:980:980::0:0:HBase user:/nonexistent:/usr/sbin/nologin

View File

@ -5,6 +5,14 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20200422:
AFFECTS: users of devel/kuya
AUTHOR: brooks@FreeBSD.org
A tests group has been added and the tests user should be a member
of it by default rather than nobody. You should update your password
database to match (change the group from 65534 to 977 after updating).
20200418:
AFFECTS: users of mail/mailman
AUTHOR: mandree@FreeBSD.org

View File

@ -23,6 +23,7 @@ USES= lua pkgconfig
TESTS_USER= tests
USERS= ${TESTS_USER}
GROUPS= tests
SUB_FILES= kyua.conf
SUB_LIST= TESTS_USER=${TESTS_USER}