Bug 25605

Summary: sysctl for enable/disable ctrl+alt+del key
Product: Base System Reporter: davidx <davidx>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description davidx 2001-03-08 09:20:01 UTC
FreeBSD does not let me dynamically enable/disable ctrl+alt+del key.
It forces me to re-config and re-compile kernel.
I think we must make life easy. the following patch will let root user 
turn ctrl+alt+del on/off.

davidbsd# sysctl -w machdep.disable_halt_key=1
machdep.disable_halt_key: 0 -> 1
davidbsd#

after turn machdep.disable_halt_key to 1, press ctrl+alt+del can not reboot machine.

Fix: patch for /sys/dev/syscons/syscons.c
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-03-28 18:52:26 UTC
State Changed
From-To: open->closed

You can already disable CTRL-ALT-DEL (or any other key/key-combination) 
by tweaking your keyboard map. 

See kbdcontrol(1)