看板 FB_doc 關於我們 聯絡資訊
>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: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"