aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/mac/portacl/nobody_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sys/mac/portacl/nobody_test.sh')
-rw-r--r--tests/sys/mac/portacl/nobody_test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/mac/portacl/nobody_test.sh b/tests/sys/mac/portacl/nobody_test.sh
index 7e64f68113ea..a3f2168dc81d 100644
--- a/tests/sys/mac/portacl/nobody_test.sh
+++ b/tests/sys/mac/portacl/nobody_test.sh
@@ -13,6 +13,7 @@ trap restore_settings EXIT INT TERM
sysctl security.mac.portacl.suser_exempt=1 >/dev/null
sysctl net.inet.ip.portrange.reservedhigh=78 >/dev/null
+sysctl security.mac.portacl.enabled=1 >/dev/null
bind_test fl fl uid nobody tcp 77
bind_test ok ok uid nobody tcp 7777