disable cntl+alt+del function

Dominique Goncalves dominique.goncalves at gmail.com
Fri Jan 19 08:40:39 UTC 2007


Hi,

On 1/18/07, Peter Ankerstål <peter at pean.org> wrote:
> Sean Murphy wrote:
> > cntl+alt+del at the console without being logged in reboots the
> > server.  The server runs through its shutdown procedure and reboots.
> > How do I disable this function?
> >
> You could compile the kernel with:
>
> options SC_DISABLE_REBOOT
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

If you don't want to rebuild your kernel, just change this sysctl knob:
hw.syscons.kbd_reboot=0

You need at least 6.1-RELEASE

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."


More information about the freebsd-questions mailing list