From thomas@cuivre.fr.eu.org  Sun Mar 24 15:20:09 2002
Return-Path: <thomas@cuivre.fr.eu.org>
Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6])
	by hub.freebsd.org (Postfix) with ESMTP id EB3A337B416
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Mar 2002 15:20:07 -0800 (PST)
Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34])
	by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id C9E758725
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Mar 2002 00:20:05 +0100 (CET)
Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000)
	id 94BC22C3D2; Mon, 25 Mar 2002 00:20:33 +0100 (CET)
Message-Id: <20020324232033.94BC22C3D2@melusine.cuivre.fr.eu.org>
Date: Mon, 25 Mar 2002 00:20:33 +0100 (CET)
From: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reply-To: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] document boot option '-n'
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36267
>Category:       docs
>Synopsis:       [patch] document boot option '-n'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 24 15:30:01 PST 2002
>Closed-Date:    Mon Mar 25 02:47:11 PST 2002
>Last-Modified:  Mon Mar 25 02:47:11 PST 2002
>Originator:     Thomas Quinot
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD melusine.cuivre.fr.eu.org 4.5-STABLE FreeBSD 4.5-STABLE #23: Sun Mar 24 22:06:56 CET 2002 thomas@melusine.cuivre.fr.eu.org:/usr2/obj/usr2/src/sys/MELUSINE i386


	A new option '-n' has been added to boot2 (see
	src/sys/boot/i386/boot2 rev. 1.38). The enclosed patch
	adds the relevant section to the man page (and also
	makes the two places where we list the set of all
	possible boot flags homogeneous.)
>Description:
	
>How-To-Repeat:
	
>Fix:


--- sbin/reboot/boot_i386.8.dist	Mon Dec 24 14:31:09 2001
+++ sbin/reboot/boot_i386.8	Mon Mar 25 00:11:50 2002
@@ -115,7 +115,7 @@
 .Ar bios_drive : Ns Ar interface Ns Po
 .Ar unit , Ns Ar part Pc
 .Ar filename
-.Op Fl aCcDdghPprsv
+.Op Fl aCcDdghnPprsv
 .Xc
 Specify boot file and flags.
 .Bl -tag -width indent
@@ -161,7 +161,7 @@
 on the specified partition).  Defaults to
 .Pa /kernel .
 Symbolic links are not supported (hard links are).
-.It Fl acCdDghPrsv
+.It Fl aCcDdghnPprsv
 Boot flags:
 .Pp
 .Bl -tag -width "-CXX" -compact
@@ -217,6 +217,14 @@
 option described here.  See the man page for
 .Xr sio 4
 for more details.
+.It Fl n
+disallow any user interaction from the keyboard or
+serial port.
+When it is desirable to prevent users from booting
+their own kernel, or a boot floppy, this flag
+can be used in the
+.Pa /boot.config
+file.
 .It Fl P
 probe the keyboard.  If no keyboard is found, the
 .Fl D
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pb 
State-Changed-When: Mon Mar 25 02:45:57 PST 2002 
State-Changed-Why:  
Fix to flag lists committed to -current, flag description dropped 
(already committed in a different wording). Will be merged to -stable 
later. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=36267 
>Unformatted:
