freebsd-dev/sys/boot/forth
Devin Teske 9d93dba489 Fix a regression caused by SVN r222417.
Prior to r222417, setting `password' in loader.conf(5) did not prevent boot
but instead only prevented changes to boot options by prompting for password
if autoboot failed or the user interrupted the countdown sequence.
After r222417 the same machine with `password' set in loader.conf(5) would no
longer boot without _always_ entering the password.

This patch restores the old (8.x and older) functionality for password in
loader.conf(5) while adding a new bootlock_password feature to replace the
edge-case should anybody desire the regressed functionality (HINT: great for
PXE servers and/or private distributions).

loader.conf(5) was updated to be more clear with-respect to password setting
(previous text was misleading).

Documentation (loader.conf(5) and check-password.4th(8)) has been updated to
include notes on the new bootlock_password setting.

Special thanks to Alex Verbod for bringing this to my attention and helping to
refine the loader.conf(5) text.

PR:		conf/170110
Submitted by:	Vitaly Zakharov <ded3axap@gmail.com>
Reviewed by:	Alexander Verbod <alexander.verbod@gmail.com>
2012-12-12 17:49:01 +00:00
..
beastie.4th Add an echo to say we're "Booting..." when the overloaded "boot" Ficl word is 2012-10-08 23:02:35 +00:00
beastie.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
brand.4th Fix domain. 2012-07-14 01:45:35 +00:00
brand.4th.8 Fix domain. 2012-07-14 01:45:35 +00:00
check-password.4th Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
check-password.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
color.4th Fix domain. 2012-07-14 01:45:35 +00:00
color.4th.8 Add an echo to say we're "Booting..." when the overloaded "boot" Ficl word is 2012-10-08 23:02:35 +00:00
delay.4th Fix domain. 2012-07-14 01:45:35 +00:00
delay.4th.8 Fix domain. 2012-07-14 01:45:35 +00:00
frames.4th Use ASCII characters for box/line characters in frames.4th 2012-12-09 15:25:34 +00:00
loader.4th Add ontop of my existing boot loader Forth code, including support for 2012-11-06 19:26:36 +00:00
loader.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
loader.conf Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
loader.conf.5 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
loader.rc Revert changes to this file in r222417. This unconditionally enabled the 2011-06-15 14:07:16 +00:00
menu-commands.4th Discussed at-length on -arch. 2012-11-28 18:35:46 +00:00
menu.4th + This patch does not change user experience or functionality 2012-11-16 01:24:11 +00:00
menu.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
menu.rc Discussed at-length on -arch. 2012-11-28 18:35:46 +00:00
menusets.4th Fix funny comment. 2012-11-06 19:51:54 +00:00
menusets.4th.8 Add ontop of my existing boot loader Forth code, including support for 2012-11-06 19:26:36 +00:00
pnp.4th This patch introduces a number of simplifications to the Forth 2009-01-05 20:09:54 +00:00
screen.4th Add a new bootloader menu. Pull in screen.4th and frames.4th from the 2003-05-30 09:29:24 +00:00
shortcuts.4th Fix domain. 2012-07-14 01:45:35 +00:00
support.4th Add support for comma-separated values (whitespace-separated still supported). 2012-12-10 15:29:56 +00:00
version.4th Fix domain. 2012-07-14 01:45:35 +00:00
version.4th.8 Fix domain. 2012-07-14 01:45:35 +00:00