Create and use a tests group for the tests user.
No user (except nobody) should be a member of the nobody group. Reported by: rgrimes Reviewed by: rgrimes MFC after: 3 days Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D24199
This commit is contained in:
parent
1264a2b909
commit
cfe7aad9c3
@ -32,5 +32,6 @@ www:*:80:
|
||||
ntpd:*:123:
|
||||
_ypldap:*:160:
|
||||
hast:*:845:
|
||||
tests:*:977:
|
||||
nogroup:*:65533:
|
||||
nobody:*:65534:
|
||||
|
@ -25,5 +25,5 @@ www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
|
||||
ntpd:*:123:123::0:0:NTP Daemon:/var/db/ntp:/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
|
||||
tests:*:977:977::0:0:Unprivileged user for tests:/nonexistent:/usr/sbin/nologin
|
||||
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
|
||||
|
Loading…
Reference in New Issue
Block a user