Re: Keyboard-Locking

Scott Murray (scottm@interlog.com)
Wed, 6 Jan 1999 00:29:31 -0500 (EST)


On Mon, 4 Jan 1999, Matthias Schniedermeyer wrote:

> 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.))
>
> Unlike Windows NT the Screen doesn't need to be blanked. I think it would
> be usefull if changing VT (ALT-F1...) remain working, but nothing more.
>
> I think this sould be implemented as a "Magic Sysrequst" which can better
> entered "On-the-Fly" to lock the keyboard (Imagine how fast you can type
> CTRL-ALT-DEL, <ENTER> and how long you need to logout 10 times! (And then
> login 10 times!))

This can already be done from userspace. I've used the vlock utility
that comes with RedHat 5.1 to do exactly what you describe. It also is
obtainable from:

ftp://metalab.unc.edu/pub/Linux/utils/console/vlock-1.0.tar.gz

Remember, 'man -k' is your friend.

Scott

-- 
=============================================================================
Scott Murray                                       email: scottm@interlog.com
http://www.interlog.com/~scottm                     ICQ#: 10602428
-----------------------------------------------------------------------------
     "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness"

- 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/