From owner-svn-src-all@freebsd.org Thu Feb 16 19:58:04 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2290BCE2713; Thu, 16 Feb 2017 19:58:04 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9DAC13BD; Thu, 16 Feb 2017 19:58:03 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1GJw2WG093402; Thu, 16 Feb 2017 19:58:02 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1GJw2Rs093401; Thu, 16 Feb 2017 19:58:02 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201702161958.v1GJw2Rs093401@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Thu, 16 Feb 2017 19:58:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313815 - head/usr.sbin/bsdinstall/scripts X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 19:58:04 -0000 Author: robak (ports committer) Date: Thu Feb 16 19:58:02 2017 New Revision: 313815 URL: https://svnweb.freebsd.org/changeset/base/313815 Log: Add 0-8 as shortcuts for jumping to menu items in the hardening menu. Submitted by: skreuzer Reviewed by: allanjude, robak Approved by: allanjude Differential Revision: https://reviews.freebsd.org/D6826 Modified: head/usr.sbin/bsdinstall/scripts/hardening Modified: head/usr.sbin/bsdinstall/scripts/hardening ============================================================================== --- head/usr.sbin/bsdinstall/scripts/hardening Thu Feb 16 19:41:13 2017 (r313814) +++ head/usr.sbin/bsdinstall/scripts/hardening Thu Feb 16 19:58:02 2017 (r313815) @@ -33,18 +33,18 @@ echo -n > $BSDINSTALL_TMPETC/sysctl.conf exec 3>&1 FEATURES=$( dialog --backtitle "FreeBSD Installer" \ - --title "System Hardening" --nocancel --notags --separate-output \ + --title "System Hardening" --nocancel --separate-output \ --checklist "Choose system security hardening options:" \ 0 0 0 \ - "hide_uids" "Hide processes running as other users" ${hide_uids:-off} \ - "hide_gids" "Hide processes running as other groups" ${hide_gids:-off} \ - "read_msgbuf" "Disable reading kernel message buffer for unprivileged users" ${read_msgbuf:-off} \ - "proc_debug" "Disable process debugging facilities for unprivileged users" ${proc_debug:-off} \ - "random_pid" "Randomize the PID of newly created processes" ${random_pid:-off} \ - "stack_guard" "Insert stack guard page ahead of the growable segments" ${stack_guard:-off} \ - "clear_tmp" "Clean the /tmp filesystem on system startup" ${clear_tmp:-off} \ - "disable_syslogd" "Disable opening Syslogd network socket (disables remote logging)" ${disable_syslogd:-off} \ - "disable_sendmail" "Disable Sendmail service" ${disable_sendmail:-off} \ + "0 hide_uids" "Hide processes running as other users" ${hide_uids:-off} \ + "1 hide_gids" "Hide processes running as other groups" ${hide_gids:-off} \ + "2 read_msgbuf" "Disable reading kernel message buffer for unprivileged users" ${read_msgbuf:-off} \ + "3 proc_debug" "Disable process debugging facilities for unprivileged users" ${proc_debug:-off} \ + "4 random_pid" "Randomize the PID of newly created processes" ${random_pid:-off} \ + "5 stack_guard" "Insert stack guard page ahead of the growable segments" ${stack_guard:-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} \ 2>&1 1>&3 ) exec 3>&-