DragonFly bugs List (threaded) for 2004-06
Re: kbdcontrol -l affects all vty's, not just the current one
On 21.06.2004, at 06:04, nntp.dragonflybsd.org wrote:
(Simon 'corecode' Schubert pointed out that, even if the kbdmap was
per-vty, nothing would stop an unprivledged user from loading a
map of all NUL's, which would disable further logins and/or switching
another vty. So I'm not really sure what can be done about it...)
1) Make keyboard maps per-vty.
2) Make root the only user able to change keyboard maps on vtys.
If both of these changes are implemented, then only root users can
themselves in the foot with an all-NULL keyboard map.
This breaks the intention of having keymaps adjustable almost
completely. I prefer typing on an US keyboard layout but I'm in Germany
and thus most keyboards, especially of "shared" computers (in the
office) are German. But in fact, I'd like to load the US keymap so I
can type properly. Won't work if root is the only one allowed to change
A possible solution: Only allow setting keymaps owned by root (i.e.
or enforce certain restrictions (i.e. ALT + Fxx always work, so that
you can switch to another vty)
plus, of course, the per-vty keymaps
\ ASCII Ribbon Campaign
/ \ Against HTML Mail and News
Description: This is a digitally signed message part