From 80f90c9b6165b58495b352b126a5fb68f877a3fe Mon Sep 17 00:00:00 2001 From: dteske Date: Wed, 24 Oct 2018 23:31:33 +0000 Subject: [PATCH] MFC r339509: Fix loader.conf(5) "password" feature 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 Sponsored by: Smule, Inc. git-svn-id: svn://svn.freebsd.org/base/stable/9@339699 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/boot/forth/check-password.4th | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/boot/forth/check-password.4th b/sys/boot/forth/check-password.4th index 26d6b94b7..1d6315bb0 100644 --- a/sys/boot/forth/check-password.4th +++ b/sys/boot/forth/check-password.4th @@ -154,6 +154,7 @@ variable readlen \ input length \ 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 -- 2.42.0