diff options
author | Allan Jude <allanjude@FreeBSD.org> | 2017-10-02 14:19:31 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2017-10-02 14:19:31 +0000 |
commit | f78bd12d6dd612d76f9019fb5f94e614f78a7e7e (patch) | |
tree | fdcc46e4acac41d94c283c00991cc19f8c43e8ee /usr.sbin/bsdinstall | |
parent | e5d6b589ce1c8456ccecdc3918bd24a8469972bd (diff) | |
download | src-test2-f78bd12d6dd612d76f9019fb5f94e614f78a7e7e.tar.gz src-test2-f78bd12d6dd612d76f9019fb5f94e614f78a7e7e.zip |
Notes
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/hardening | 2 |
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 |