From owner-freebsd-questions@freebsd.org Tue Jul 10 08:45:07 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EB331032275 for ; Tue, 10 Jul 2018 08:45:07 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id E4A2E8A02C for ; Tue, 10 Jul 2018 08:45:06 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 2E53829E0B; Tue, 10 Jul 2018 17:44:55 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 9F5FC44265; Tue, 10 Jul 2018 17:44:54 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 968CA44264; Tue, 10 Jul 2018 17:44:53 +0900 (JST) Date: Tue, 10 Jul 2018 17:44:32 +0900 (JST) Message-Id: <20180710.174432.1244771672628073392.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Fisable ctrl-alt-del reboot From: Yasuhiro KIMURA In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 08:45:07 -0000 From: Olivier Subject: Fisable ctrl-alt-del reboot Date: Tue, 10 Jul 2018 15:25:09 +0700 > I am running a system with FreeBSD and since I updated to 11.1, it seems > it ignore the sysctl to disable CTRL+ALT_DEL reboot. > > Am I the only one to see this behaviour? > > FreeBSD door.cs.ait.ac.th 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #3 r334472: Fri Jun 22 11:03:48 ICT 2018 root@door.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC i386 > > $ sysctl hw.syscons.kbd_reboot > hw.syscons.kbd_reboot: 0 > $ sysctl -d hw.syscons.kbd_reboot > hw.syscons.kbd_reboot: enable keyboard reboot > > But it can still be rebooted from the keyboard. > > Am I missing something? What is the value of kern.vty? If it is 'vt', then you should set kern.vt.kbd_reboot to 0 instead of hw.syscons.kbd_reboot. --- Yasuhiro KIMURA