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?


How likely is it to break the system with it?
1 pam configuration mistake or one programming mistake in it. However if you can comfortably boot a live usb and fix it, and test it in qemu it should be no problem.
Oh look like pam_time exists…
https://askubuntu.com/questions/631569/pre-scheduled-daily-lock-out-periods
https://linux.die.net/man/8/pam_time
https://linux.die.net/man/5/time.conf
Seems minimal enough.