freebsd-dev/sys
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
..
amd64 Implement an API to allow a hypervisor to save/restore 2012-12-12 08:35:32 +00:00
arm Don't write-back the cachelines if we really just want to invalidate them. 2012-12-05 21:07:27 +00:00
boot Fix a regression caused by SVN r222417. 2012-12-12 17:49:01 +00:00
bsm Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
cam Fix a couple of CTL locking issues and clean up some duplicated code. 2012-12-09 19:53:21 +00:00
cddl Renamed zfs trim stats removing duplicate zio_trim identifier from the name 2012-12-12 16:14:14 +00:00
compat Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
conf Add the AR5416/AR9285 bluetooth coexistence code into the main kernel 2012-12-03 23:43:23 +00:00
contrib Allow this file to build on FreeBSD. 2012-11-27 02:03:41 +00:00
crypto Revert previous commit... 2012-10-10 08:36:38 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Add IDs for SATA controllers on AMD Hudson-2 series chipsets. 2012-12-12 11:53:15 +00:00
fs Add "nfsstat -m" support for the two new NFS mount options 2012-12-09 22:23:50 +00:00
gdb
geom - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
gnu/fs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
i386 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
ia64 Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
isa
kern Cleanup more of the kassert_panic. 2012-12-11 07:08:14 +00:00
kgssapi
libkern Sync strlcpy with userland version. 2012-11-03 04:29:24 +00:00
mips Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
modules Add the btcoex code into the module compilation. 2012-12-03 23:38:08 +00:00
net Changes to resolve races in bpfread() and catchpacket() that, at worst, 2012-12-10 16:14:44 +00:00
net80211 Adjust the channel to correctly setup the HT flags when transitioning 2012-12-10 07:00:46 +00:00
netatalk Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netgraph Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netinet Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, 2012-12-12 17:41:21 +00:00
netinet6 - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45:24 +00:00
netipsec Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netncp Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Merge 1.127 from OpenBSD, that closes a regression from 1.125 (merged 2012-12-11 08:37:08 +00:00
netsmb Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfs Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfsclient Move the NFSv4.1 client patches over from projects/nfsv4.1-client 2012-12-08 22:52:39 +00:00
nfsserver Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
opencrypto Revert previous commit... 2012-10-10 08:36:38 +00:00
pc98 Reduce diffs against i386. 2012-11-10 13:48:41 +00:00
pci Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
powerpc Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
rpc Add support for backchannels to the kernel RPC. Backchannels 2012-12-08 00:29:16 +00:00
security Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
sparc64 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h 2012-11-16 05:55:56 +00:00
sys Similar to CTLFLAG_RDTUN, provide CTLFLAG_RWTUN that defines writable sysctl 2012-12-11 19:54:35 +00:00
teken
tools Revert previous commit... 2012-10-10 08:36:38 +00:00
ufs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
vm In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
x86 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
xdr
xen Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
Makefile Run cscope with the -v parameter to make it more user-friendly. 2012-12-02 20:51:24 +00:00