Re: Keyboard-Locking

Guest section DW (dwguest@win.tue.nl)
Wed, 6 Jan 1999 12:01:38 +0100 (MET)


From: Matthias Schniedermeyer <ms@citd.owl.de>

I'd like to have a way "lock" the keyboard. So that it isn't possibel to
write anything with the keyboard until a password or similar is entered.

I'd like the have such a feature because i don't want to log out of every
Console. (I login 10 times!) (Clue: Something like "CTRL-ALT-DEL, <ENTER>"
which locks the Screen/Keyboard under Windows NT. (One of the REALLY
usefull features i miss under Linux.))

I think this sould be implemented as a "Magic Sysrequst"

1. Normally, Magic Sysrequest should be disabled. You do not want
any passer-by to be able to kill init or reboot the machine.
Magic Sysrequest is a debugging tool only.

2. Of course you do not have to login 10 times. Login once and
use `spawn console' to give you as many sessions as you need.

3. Look at vlock(1) for a console locking program.

4. If you usually aren't at a shell prompt when you want to lock the console
so that typing "vlock" doesnt work, a 1-line change to the `spawn console'
program would turn it into a `lock console' program.

(Mechanics: in /etc/inittab you have the possibility to define with kb:
a program that should be started when a `keyboard signal' is given.
With loadkeys you can define which key combination this is, and
you might for example make it Ctrl-Alt-Del, saving one keystroke
compared to your Windows NT version.)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/