summaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2017-10-02 14:19:31 +0000
committerAllan Jude <allanjude@FreeBSD.org>2017-10-02 14:19:31 +0000
commitf78bd12d6dd612d76f9019fb5f94e614f78a7e7e (patch)
treefdcc46e4acac41d94c283c00991cc19f8c43e8ee /usr.sbin/bsdinstall
parente5d6b589ce1c8456ccecdc3918bd24a8469972bd (diff)
downloadsrc-test2-f78bd12d6dd612d76f9019fb5f94e614f78a7e7e.tar.gz
src-test2-f78bd12d6dd612d76f9019fb5f94e614f78a7e7e.zip
Notes
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/hardening2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/hardening b/usr.sbin/bsdinstall/scripts/hardening
index 1ea312db7ef7..1b82f8121753 100755
--- a/usr.sbin/bsdinstall/scripts/hardening
+++ b/usr.sbin/bsdinstall/scripts/hardening
@@ -66,7 +66,7 @@ for feature in $FEATURES; do
echo security.bsd.unprivileged_proc_debug=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
fi
if [ "$feature" = "random_pid" ]; then
- echo kern.randompid=$(jot -r 1 9999) >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
+ echo kern.randompid=1 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
fi
if [ "$feature" = "clear_tmp" ]; then
echo 'clear_tmp_enable="YES"' >> $BSDINSTALL_TMPETC/rc.conf.hardening