Disable CTRL-ALT-DEL
Jeremy Chadwick
koitsu at FreeBSD.org
Sat Oct 18 01:10:52 PDT 2008
On Sat, Oct 18, 2008 at 10:58:29AM +0300, Manolis Kiagias wrote:
> Peter Boosten wrote:
>> Manolis Kiagias wrote:
>>
>>> Olivier Nicole wrote:
>>>
>>>> Hi,
>>>>
>>>> On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting
>>>> the system?
>>>>
>>>> Best regards,
>>>>
>>>> Olivier
>>>>
>>> There are two ways of doing this, both described in the FreeBSD FAQ here:
>>>
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT
>>>
>>
>> Hmmm, didn't know about the second one, and doesn't seem to be working
>> either (on both 7.0 and 6.3):
>>
>> sysctl hw.syscons.kbd_reboot=0
>> sysctl: unknown oid 'hw.syscons.kbd_reboot'
>>
>>
>> Peter
>>
> It seems you are right. Just checked on 6.3 and 7.0 and it does not
> exist. It does exist in 6.2, however.
Hmm...
# sysctl hw.syscons.kbd_reboot=0
hw.syscons.kbd_reboot: 1 -> 0
# sysctl hw.syscons.kbd_reboot=1
hw.syscons.kbd_reboot: 0 -> 1
# uname -a
FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root at icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-questions
mailing list