Date: Thu, 26 Jul 2007 07:13:02 GMT From: David Yeske <dyeske@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/114925: update handbook to list method for preventing console reboot Message-ID: <200707260713.l6Q7D2Yl051779@www.freebsd.org> Resent-Message-ID: <200707260720.l6Q7K1Ps067690@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 @@ <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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707260713.l6Q7D2Yl051779>