From owner-freebsd-doc Sun Mar 24 15:30:23 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 772A137B41B for ; Sun, 24 Mar 2002 15:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ONU1I55529; Sun, 24 Mar 2002 15:30:01 -0800 (PST) (envelope-from gnats) Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id EB3A337B416 for ; 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 ; 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 Reply-To: Thomas Quinot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/36267: [patch] document boot option '-n' Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36267 >Category: docs >Synopsis: [patch] document boot option '-n' >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 15:30:01 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message