From owner-freebsd-questions Tue Jan 27 20:15:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA06222 for questions-outgoing; Tue, 27 Jan 1998 20:15:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA06217 for ; Tue, 27 Jan 1998 20:15:05 -0800 (PST) (envelope-from atf3r@cs.virginia.edu) Received: from ares.cs.virginia.edu by mail.virginia.edu id aa02791; 27 Jan 98 23:15 EST Received: from mamba.cs.Virginia.EDU (mamba-fo.cs.Virginia.EDU [128.143.136.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id XAA20353; Tue, 27 Jan 1998 23:15:02 -0500 (EST) Received: from localhost (atf3r@localhost) by mamba.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id XAA02952; Tue, 27 Jan 1998 23:15:01 -0500 (EST) X-Authentication-Warning: mamba.cs.Virginia.EDU: atf3r owned process doing -bs Date: Tue, 27 Jan 1998 23:15:01 -0500 (EST) From: "Adrian T. Filipi-Martin" Reply-To: Adrian Filipi-Martin To: The Administrator cc: freebsd-questions@FreeBSD.ORG Subject: Re: ctrl-alt-del In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, 27 Jan 1998, The Administrator wrote: > > On my system, a i486 running FreeBSD-2.2.5, > the sequence of keys Ctrl-Alt-Canc causes a reboot, > if done on console. > The thing is that I am never at console, > and the console is avaliable for users who need to make > library research with netscape. > Well I would like to disable users to reboot > the system whenever they want with the 3 keys. > Does someone know how to do it? how to disable Ctrl-Alt-Canc ? > On Linux it was easy changing the configuration in > /etc/inittab, but there is not this file on BSD. > Someone could help me? > thanks Yes, you can disable this behavior. Take alook at the kbdcontrol(8) program. You can use it to dump the keymap and then load another. You will need to add a little code to reload the modified keyboard on every reboot. Maybe there is an option for this in rc.conf. You should take alook to see if it is already covered there. Basically you want to replace all occurences of 'boot' in the keymap with something like 'nop'. cheers, Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/