Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 1995 19:42:19 -0400
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        nate@trout.sri.mt.net
Cc:        markh@stack.urc.tue.nl, questions@FreeBSD.org
Subject:   Re: turning off ctrlaltdel
Message-ID:  <9505052342.AA27404@yarmouth.fsl.noaa.gov>
In-Reply-To: <199505052220.QAA19824@trout.sri.MT.net> (message from Nate Williams on Fri, 5 May 1995 16:20:35 -0600)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Nate" == Nate Williams <nate@trout.sri.mt.net> writes:

    >> Is it possible to turn off the soft reboot after pressing
    >> CTRLALTDEL?
    Nate> Yes.

    >> I couldn't find any options in the kernel for it, nor the code
    >> where it is handled :(

    Nate> It's handled by sending a signal to init.  The code which
    Nate> does it is in the console driver and in kern/kern_xxx.c.  To
    Nate> remove that functionality you can either modify your keymap
    Nate> to remove the keymapping (clean/easiest),

Easiest, but not necessarily the cleanest.  I might want to install
FreeBSD systems in a public user area (yes, this debate again) and
allow users to modify the keymap to their liking, via ~/.login, for
instance.  I'd want to disable assigning `boot' to any of the
keys, though.

    Nate> or else modify the kernel to ignore that keystroke.

Not the keystroke, just the action that goes with it.  Of course,
modifying the kernel to do this still doesn't ring true.  Kernel
config sounds nicer, though.

-- 
Sean Kelly
NOAA Forecast Systems Lab, Boulder Colorado USA

If you were a poor Indian with no weapons, and a bunch of
conquistadors came up to you and asked where the gold was, I don't
think it would be a good idea to say, "I swallowed it. So sue me."
-- Jack Handey



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