Page MenuHomeFreeBSD

D40367.diff
No OneTemporary

D40367.diff

diff --git a/usr.sbin/bsdinstall/scripts/hardening b/usr.sbin/bsdinstall/scripts/hardening
--- a/usr.sbin/bsdinstall/scripts/hardening
+++ b/usr.sbin/bsdinstall/scripts/hardening
@@ -48,9 +48,8 @@
"5 random_pid" "Randomize the PID of newly created processes" ${random_pid:-off} \
"6 clear_tmp" "Clean the /tmp filesystem on system startup" ${clear_tmp:-off} \
"7 disable_syslogd" "Disable opening Syslogd network socket (disables remote logging)" ${disable_syslogd:-off} \
- "8 disable_sendmail" "Disable Sendmail service" ${disable_sendmail:-off} \
- "9 secure_console" "Enable console password prompt" ${secure_console:-off} \
- "10 disable_ddtrace" "Disallow DTrace destructive-mode" ${disable_ddtrace:-off} \
+ "8 secure_console" "Enable console password prompt" ${secure_console:-off} \
+ "9 disable_ddtrace" "Disallow DTrace destructive-mode" ${disable_ddtrace:-off} \
2>&1 1>&3 )
retval=$?
exec 3>&-
@@ -85,9 +84,6 @@
disable_syslogd)
echo 'syslogd_flags="-ss"' >> $BSDINSTALL_TMPETC/rc.conf.hardening
;;
- disable_sendmail)
- echo 'sendmail_enable="NONE"' >> $BSDINSTALL_TMPETC/rc.conf.hardening
- ;;
secure_console)
sed "s/unknown off secure/unknown off insecure/g" $BSDINSTALL_CHROOT/etc/ttys > $BSDINSTALL_TMPETC/ttys.hardening
;;

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 6:48 PM (19 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14498275
Default Alt Text
D40367.diff (1 KB)

Event Timeline