Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 23:31:34 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r339699 - stable/9/sys/boot/forth
Message-ID:  <201810242331.w9ONVYIs081262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Wed Oct 24 23:31:33 2018
New Revision: 339699
URL: https://svnweb.freebsd.org/changeset/base/339699

Log:
  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.

Modified:
  stable/9/sys/boot/forth/check-password.4th
Directory Properties:
  stable/9/   (props changed)

Modified: stable/9/sys/boot/forth/check-password.4th
==============================================================================
--- stable/9/sys/boot/forth/check-password.4th	Wed Oct 24 23:21:12 2018	(r339698)
+++ stable/9/sys/boot/forth/check-password.4th	Wed Oct 24 23:31:33 2018	(r339699)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810242331.w9ONVYIs081262>