From owner-freebsd-questions Fri May 5 16:42:35 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA16760 for questions-outgoing; Fri, 5 May 1995 16:42:35 -0700 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id QAA16754 for ; Fri, 5 May 1995 16:42:33 -0700 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA04631; Fri, 5 May 95 23:42:10 GMT Received: from junco.fsl.noaa.gov by yarmouth.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA27404; Fri, 5 May 1995 19:42:19 -0400 Date: Fri, 5 May 1995 19:42:19 -0400 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9505052342.AA27404@yarmouth.fsl.noaa.gov> Received: by junco.fsl.noaa.gov (1.37.109.16/SMI-4.1 (1.37.109.16)) id AA041157338; Fri, 5 May 1995 17:42:18 -0600 To: nate@trout.sri.mt.net Cc: markh@stack.urc.tue.nl, questions@FreeBSD.org In-Reply-To: <199505052220.QAA19824@trout.sri.MT.net> (message from Nate Williams on Fri, 5 May 1995 16:20:35 -0600) Subject: Re: turning off ctrlaltdel Sender: questions-owner@FreeBSD.org Precedence: bulk >>>>> "Nate" == Nate Williams 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