Date: Sun, 21 Oct 2018 00:15:51 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339509 - head/stand/forth Message-ID: <201810210015.w9L0FpD9023860@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Sun Oct 21 00:15:51 2018 New Revision: 339509 URL: https://svnweb.freebsd.org/changeset/base/339509 Log: Restore the ability to prevent the user from interrupting the boot process without first entering the password stored in loader.conf(5). PR: kern/207069 Reported by: david@dcrosstech.com MFC after: 3 days Sponsored by: Smule, Inc. Modified: head/stand/forth/check-password.4th Modified: head/stand/forth/check-password.4th ============================================================================== --- head/stand/forth/check-password.4th Sun Oct 21 00:11:56 2018 (r339508) +++ head/stand/forth/check-password.4th Sun Oct 21 00:15:51 2018 (r339509) @@ -129,7 +129,7 @@ variable readlen \ input length again \ Enter was not pressed; repeat ; -only forth definitions also password-processing +only forth definitions also password-processing also support-functions : check-password ( -- ) @@ -161,6 +161,7 @@ only forth definitions also password-processing \ We should prevent the user from visiting the menu or dropping to the \ interactive loader(8) prompt, but still allow the machine to boot... + any_conf_read? if load_kernel load_modules then 0 autoboot \ Only reached if autoboot fails for any reason (including if/when
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810210015.w9L0FpD9023860>