Messages in this thread | | | Subject | Re: design of screen-locks for text-mode sessions | From | Alan Cox <> | Date | Mon, 11 Sep 2006 11:12:44 +0100 |
| |
Ar Llu, 2006-09-11 am 04:40 -0500, ysgrifennodd Travis H.: > off-list with interested parties. In the meantime, I was wondering what people > thought about the best design for locking text-mode console sessions. It's a > checkbox on some regulatory compliance list, I think for the PCI specs (that's > credit cards, not the bus) and I'm sort of surprised there isn't an easy-to-find > package for this.
We should have everything you need in kernel to do this. You can lock the console switching and monitor the keyboard just fine.
See "lockvt.c" (ask google to find it). It's tiny and it shows how to use the lockswitch functionality. Then just add your timing junk.
Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |