From nobody@FreeBSD.org  Thu Jul 26 07:13:02 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4AF8916A41B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dyeske@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: update handbook to list method for preventing console reboot
X-Send-Pr-Version: www-3.0

>Number:         114925
>Category:       docs
>Synopsis:       [patch] update handbook to list method for preventing console reboot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 26 07:20:01 GMT 2007
>Closed-Date:    Mon Jul 30 09:20:36 GMT 2007
>Last-Modified:  Mon Jul 30 09:20:36 GMT 2007
>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 @@
 
           <programlisting>options SC_DISABLE_REBOOT</programlisting>
 
+          <para>This can also be done by setting the following sysctl 
+            which does not require a reboot or kernel
+            recompile.</para>
+
+          <screen>&prompt.root; <userinput>sysctl -w hw.syscons.kbd_reboot=0</userinput></screen>
+
           <para>in the configuration file. If you use the PCVT console
             driver, use the following kernel configuration line
             instead.</para>


>Release-Note:
>Audit-Trail:

From: "David Yeske" <dyeske@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-doc@freebsd.org, 
	remko@elvandar.org
Cc:  
Subject: Re: docs/114925: update handbook to list method for preventing console reboot
Date: Mon, 30 Jul 2007 01:34:33 -0400

 Please use the new patch located here that does not have "-w" in the
 sysctl string
 
 http://futurebsd.sourceforge.net/freebsd/patch-book.sgml
 
 On 7/26/07, FreeBSD-gnats-submit@freebsd.org
 <FreeBSD-gnats-submit@freebsd.org> wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `docs/114925'.
 > The individual assigned to look at your
 > report is: freebsd-doc.
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=114925
 >
 > >Category:       docs
 > >Responsible:    freebsd-doc
 > >Synopsis:       update handbook to list method for preventing console reboot
 > >Arrival-Date:   Thu Jul 26 07:20:01 GMT 2007
 >

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/114925: commit references a PR
Date: Mon, 30 Jul 2007 09:18:59 +0000 (UTC)

 remko       2007-07-30 09:18:52 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/faq book.sgml 
   Log:
   Add an instruction on how to prevent keyboard reboots on a running system
   in addition to the instruction listed for the kernel.
   
   PR:             114925
   Submitted by:   "David Yeske" <dyeske at gmail dot com>, slightly changed
                   to make sure that the original text was still OK.
   
   Revision  Changes    Path
   1.805     +6 -1      doc/en_US.ISO8859-1/books/faq/book.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Mon Jul 30 09:20:33 UTC 2007 
State-Changed-Why:  
PAtch committed (slightly changed to make sure the content remained 
proper. Also I changed the style a bit to match our style guide). Thanks 
for the submission and the updated patch! 

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