From owner-freebsd-questions Wed May 27 16:03:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27514 for freebsd-questions-outgoing; Wed, 27 May 1998 16:03:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail-ftp.nordicdms.com ([207.21.168.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27456 for ; Wed, 27 May 1998 16:02:49 -0700 (PDT) (envelope-from walton@nordicdms.com) Received: from mail-ftp (mail.nordicdms.com [207.21.168.101]) by mail-ftp.nordicdms.com (Post.Office MTA v3.1 release PO205e ID# 0-0U10L2S100) with SMTP id AAA104; Wed, 27 May 1998 16:01:56 -0700 From: walton@nordicdms.com (Dave Walton) Organization: Nordic Entertainment Worldwide To: Annelise Anderson , freebsd-questions@FreeBSD.ORG, Date: Wed, 27 May 1998 16:01:56 -800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: FreeBSD Newbie Question (fwd) Reply-to: techsupport@nordicdms.com In-reply-to: Message-ID: <19980527230156429.AAA104@mail.nordicdms.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27 May 98 at 13:41, Annelise Anderson wrote: > This person wants to disable the Ctrl-Alt-Delete equivalence to > reboot, and I looked in the handbook and the mail archives and > I can't figure out how to do it. We will both find your answer > of interest--(all I found was Terry Lambert saying it didn't > matter anyway because there's always the big red button). I've seen that comment, too, and have to disagree with it. Disabling that function may not do much to prevent malicious reboots, but it sure helps prevent accidental reboots. We have a lot of NT machines around here, and "Press Ctrl-Alt-Del to log in" can be very habit-forming... Here's how to do it: Run /stand/sysinstall, select option 3 ("Keymap"), and select whatever keyboard mapping is appropriate for your locale. For example, if you want a standard US keyboard mapping, select the last item on the list, "United States ISO keymap". Once you've made your selection, exit sysinstall and: grep keymap /etc/rc.conf You will see something like this: keymap="us.iso" # keymap in /usr/share/syscons/keymaps/* (or NO). Now you need to edit the .kbd file. For our example, that means /usr/share/syscons/keymaps/us.iso.kbd needs editing. In that file, replace every instance of the word "boot" with "nop". (In the us.iso file, "boot" appears three times.) Once you've made that change, reboot and you're done. Dave > > --Annelise > > ---------- Forwarded message ---------- > Date: Tue, 26 May 1998 13:44:06 +0800 > From: Mohammad Rizal Othman > To: andrsn@andrsn.stanford.edu > Subject: FreeBSD Newbie Question > > Hi, > > First, please accept my apology for asking this > question directly to you... > > I've just read your tutorial for new users of > FreeBSD. It was an excellent article. However, > being a long time user of Linux, I've found > something that I cannot easily do on FreeBSD that > I took for granted on Linux. On Linux, there is > this runlevel thing and a file which you can > edit. As with FreeBSD, you can reboot a Linux box > by pressing Control-Alt-Delete buttons > simultaneously. This can be turned off easily on > Linux by editing a file in /etc. But I cannot do > the same thing on FreeBSD. I've read the FAQ and > it mentions of editing a file in > /usr/share/syscons/keymaps/. I searched for any > occurences of "rbt" but didn't find any. I guess > I'm using us.key since that is what appear in my > /etc/rc.conf. > > Please help me solving this problem. Except for > this "feature" I'm beginning to like FreeBSD :) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ---------------------------------------------------------------------- Dave Walton Tech Support Nordic Entertainment Worldwide techsupport@nordicdms.com http://www.nordicdms.com ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message