From owner-freebsd-bugs Thu Apr 5 18:13: 7 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 68A7C37B424; Thu, 5 Apr 2001 18:13:02 -0700 (PDT) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id JAA16973; Fri, 6 Apr 2001 09:10:40 +0800 Date: Fri, 6 Apr 2001 09:17:54 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <932925376.20010406091754@21cn.com> To: phk@FreeBSD.org Cc: davidx@viasoft.com.cn, freebsd-bugs@FreeBSD.org Subject: Re[2]: kern/25605: sysctl for enable/disable ctrl+alt+del key In-reply-To: <200103281753.f2SHrLo34907@freefall.freebsd.org> References: <200103281753.f2SHrLo34907@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello phk, Thursday, March 29, 2001, 1:53:21 AM, you wrote: pFo> Synopsis: sysctl for enable/disable ctrl+alt+del key pFo> State-Changed-From-To: open->closed pFo> State-Changed-By: phk pFo> State-Changed-When: Wed Mar 28 09:52:26 PST 2001 pFo> State-Changed-Why: pFo> You can already disable CTRL-ALT-DEL (or any other key/key-combination) pFo> by tweaking your keyboard map. pFo> See kbdcontrol(1) pFo> http://www.freebsd.org/cgi/query-pr.cgi?pr=25605 Linux has sysctl in procfs to dynamic enable and disable ctrl+alt+delete, it looks like: echo "0" > /proc/sys/kernel/ctrl_alt_delete disable hot key reboot. it's simple. our method is not as easy as Linux, and I think tweak a keyboard map is dangerous, it can kick you out of console if you made some mistakes. -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message