Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 23:37:03 +0200
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        "Kenneth Bond" <bondka@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Disable CTRL+ALT+DELETE
Message-ID:  <7daacbbe0706041437m1439900ft81dbcd698544ddad@mail.gmail.com>
In-Reply-To: <e393b60a0706041222j37d6980bsb9fac81b457c1afa@mail.gmail.com>
References:  <e393b60a0706041222j37d6980bsb9fac81b457c1afa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 6/4/07, Kenneth Bond <bondka@gmail.com> wrote:
> Hello,
>
> I have a quick question regarding disabling the CTRL+ALT+DELETE
> keystroke sequence used to reboot a system.
>
> I understand that you are able to add the following option to the
> kernel config file and rebuild the kernel:
>
> options SC_DISABLE_REBOOT
>
> What I'd like to confirm is whether or not using a keymap file and
> changing the "boot" entries to "nop", and then loading it on each boot
> through /etc/rc.conf (KEYMAP = "/usr/share/syscons/keymap/keymap.kbd")
> is a viable, secure alternative for disabling the CTRL+ALT+DELETE
> keystroke sequence.
>
> I know it was commonly used with older FreeBSD releases, but I'm not
> sure whether it is recommended with newer releases.
>
> Please advise.
>
> Thanks!
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

If you are using FreeBSD >=6.2, there is a sysctl knob for disabling
CTRL+ALT+DELETE,

sysctl hw.syscons.kbd_reboot=0

Take a look at syscons(4) and sysctl(8) for more information.

Hope this helps.

Regards.
-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe0706041437m1439900ft81dbcd698544ddad>