From owner-freebsd-hackers Mon May 21 17:47:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E131737B422 for ; Mon, 21 May 2001 17:47:27 -0700 (PDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f4M0lQ653221; Mon, 21 May 2001 18:47:27 -0600 (MDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f4M0kvl26687; Mon, 21 May 2001 18:46:57 -0600 (MDT) Message-Id: <200105220046.f4M0kvl26687@billy-club.village.org> To: Jon Parise Subject: Re: sysctl to disable reboot Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 21 May 2001 20:23:54 EDT." <20010521202354.F12366@csh.rit.edu> References: <20010521202354.F12366@csh.rit.edu> <20010521123044.H29180@csh.rit.edu> <200105212148.f4LLmGE34968@harmony.village.org> Date: Mon, 21 May 2001 18:46:57 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010521202354.F12366@csh.rit.edu> Jon Parise writes: : In addition, I prefer my approach here because it's a single, : known toggle that doesn't involve messing with other parts of the : system. I might just want to disable keyboard rebooting : temporarily. This seems like the most intuitive way to do so. Bah. I'm trying to fight feaping creaturism. I'm not worried about the most intuitive way :-). Seriously, this is unix. You need to use the right tools for the right jobs. Reboot, and a host of other things, are controlled via the keymap. Creating a keymap w/o the reboot (or other objectionable options) in it is the easiest way to deal with the problem. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message