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
beastie.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
brand.4th
brand.4th.8
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
color.4th.8
delay.4th
delay.4th.8
frames.4th
loader.4th
loader.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
loader.conf
loader.conf.5 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
loader.rc
menu-commands.4th
menu.4th
menu.4th.8 Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
menu.rc
menusets.4th
menusets.4th.8
pnp.4th
screen.4th
shortcuts.4th
support.4th Add support for comma-separated values (whitespace-separated still supported). 2012-12-10 15:29:56 +00:00
version.4th
version.4th.8