Fisable ctrl-alt-del reboot

Polytropon freebsd at
Tue Jul 10 17:18:09 UTC 2018

On Tue, 10 Jul 2018 15:25:09 +0700, Olivier wrote:
> 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 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #3 r334472: Fri Jun 22 11:03:48 ICT 2018     root at  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?

If I may guess:

This sysctl refers to syscons (sc), while on FreeBSD 10 and
later, sc has been obsoleted by vt. Could that be the reason?

If you temporarily exchange vt for sc (with "kern.vty=sc" in
/boot/loader.conf), you should see the desired behaviour,
even though X won't work anymore (if this is important to you).

But vt seems to support what you need. See "man 4 vt" for the
following configuration entries:

     In	loader.conf(5) or sysctl.conf(5):

Maybe this can help?

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list