From owner-freebsd-hackers Mon May 21 15:37:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 1A0C337B42C for ; Mon, 21 May 2001 15:37:52 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.3/8.11.3) with ESMTP id f4LMjN903195; Mon, 21 May 2001 15:45:23 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200105212245.f4LMjN903195@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: David Malone Cc: Warner Losh , Jon Parise , freebsd-hackers@FreeBSD.ORG Subject: Re: sysctl to disable reboot In-reply-to: Your message of "Mon, 21 May 2001 23:32:04 BST." <20010521233204.B64450@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 May 2001 15:45:23 -0700 From: Mike Smith 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 > Any user who can log on at a vty can remap any key to reboot the > machine (try remapping "t" to reboot to annoy your firends ;-). > The sysctl can only be enabeled by root, so I think it would be > useful. A more useful sysctl might be one that prevented the > remapping of the keyboard unless you were root. That's a good point. A more sophisticated sysctl again would be one that would prevent the loading of a new keymap which enabled rebooting where the previous one did not. cons.keymap.protected perhaps? -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message