This Christmas, like always, my cousins will be coming over for a visit and undoubtedly they will want to play on my computer. The problem is, it causes havoc every time. Not only are they really hard to force off of my computer but they (two brothers) get real upset if one gets slightly more time than the other.
So this year I'm hoping I'll be able to setup my computer so that who ever logs into the guest account gets kicked off in around half an hour whether they are in the middle of playing doom 3 or not.
The login part is no problem, I can just set the password myself and log them on when it's their turn. But I'm not really sure how to kick them off after half an hour, I was thinking something like:
Code:
sleep 30m && logout
But I don't know where i could put that.
It doesn't have to be terribly secure, they're 11 and 12 years old and have no linux experience.
I'm using up-to-date x86 gentoo linux.