From owner-freebsd-doc@FreeBSD.ORG Thu Jul 26 07:20:01 2007 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65E116A418 for ; Thu, 26 Jul 2007 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F74813C45E for ; Thu, 26 Jul 2007 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6Q7K1us067691 for ; Thu, 26 Jul 2007 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6Q7K1Ps067690; Thu, 26 Jul 2007 07:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 26 Jul 2007 07:20:01 GMT Resent-Message-Id: <200707260720.l6Q7K1Ps067690@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Yeske Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AF8916A41B for ; Thu, 26 Jul 2007 07:13:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3AD13C468 for ; Thu, 26 Jul 2007 07:13:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6Q7D2WJ051780 for ; Thu, 26 Jul 2007 07:13:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l6Q7D2Yl051779; Thu, 26 Jul 2007 07:13:02 GMT (envelope-from nobody) Message-Id: <200707260713.l6Q7D2Yl051779@www.freebsd.org> Date: Thu, 26 Jul 2007 07:13:02 GMT From: David Yeske To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/114925: update handbook to list method for preventing console reboot X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 07:20:01 -0000 >Number: 114925 >Category: docs >Synopsis: update handbook to list method for preventing console reboot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 26 07:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: David Yeske >Release: HEAD >Organization: >Environment: FreeBSD speed 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Jul 18 23:40:39 EDT 2007 root@speed:/usr/obj/usr/src/sys/SPEED amd64 >Description: add sysctl to the handbook to prevent a reboot via control alt delete from the console >How-To-Repeat: >Fix: see attachment Patch attached with submission follows: Index: book.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/faq/book.sgml,v retrieving revision 1.802 diff -u -r1.802 book.sgml --- book.sgml 17 Jul 2007 18:04:02 -0000 1.802 +++ book.sgml 26 Jul 2007 07:06:15 -0000 @@ -6315,6 +6315,12 @@ options SC_DISABLE_REBOOT + This can also be done by setting the following sysctl + which does not require a reboot or kernel + recompile. + + &prompt.root; sysctl -w hw.syscons.kbd_reboot=0 + in the configuration file. If you use the PCVT console driver, use the following kernel configuration line instead. >Release-Note: >Audit-Trail: >Unformatted: