Hello,
I am looking for a program that can force me to stop using Linux when I need to do something else, like eating dinner or going to bed.
This time enforcement could be as simple as changing the user password and then logging me out at a certain time (of course it should also change the password back later)
It should also require a password (different from the user password) to change its settings or uninstall it, so that I can’t tamper with it in a weak moment.
Is there such a program for Linux?


It all depends on how “forced” you want to be.
Generally, in Linux, if you’ve installed it, you have the power to uninstall it. Once your lockout gets put in effect, you can boot from USB, mount the hard drive, modify the files necessary to bypass your lockout, then reboot and proceed as if your lockout didn’t exist.
Given that perspective: wouldn’t a nag reminder popping over your screen that you actually pay attention to be better than “locking your account” with locks so easily picked?
I would say: It should take at least 3 minutes (better more) to circumvent it.
This sounds like it would take me around 10 minutes, so its enough for me to stop and do what I should be doing instead.