I'm trying to find a way to manage my kids' computer usage after I removed Timekpr-nExT due to its glitches. Recently, I've noticed they're getting up early to play games. I'm considering using crontab to automatically lock their accounts with "usermod -L" and unlock them later with "usermod -U". Is this a practical approach to handle this situation? Would it work well for my needs?
2 Answers
I agree, and keep in mind this method might not disconnect them from current sessions or work well with passwordless logins. You could consider blocking access at the router level, but I get wanting to avoid changing settings repeatedly. A warning script before locking them out sounds like a practical addition.
While it's not a horrible idea, using usermod -L is pretty extreme. If your kids are logged in when the command runs, it will kick them out of their game, and that might not go over well. It could be worth adding a warning script to give them a heads-up before locking their accounts.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures