Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 15:45:23 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Warner Losh <imp@harmony.village.org>, Jon Parise <jon@csh.rit.edu>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: sysctl to disable reboot 
Message-ID:  <200105212245.f4LMjN903195@mass.dis.org>
In-Reply-To: Your message of "Mon, 21 May 2001 23:32:04 BST." <20010521233204.B64450@walton.maths.tcd.ie> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105212245.f4LMjN903195>