I have a kid and I want to allow him to use the computer only after he solves a certain quiz at logon.
I can write a quiz application itself. What I don't know is how to set it up in the way, that computer doesn't show normal desktop until the quiz program decides so.
How can I do it? Should I use pam? But how can I make pam application interact with user graphically?
I use Ubuntu 14.04.