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?


cron job that launches the lock screen at the specified time and unlocks it later?
My idea for this has always been a battery powered computer, where the battery gets charged by a pedal powered generator. So I can use the computer as much as I want, but I have to at least get some exercise to keep it running.
Fuck that’s brilliant
Is there a way to only allow changing it when entering a password (that is different from the user password)
Yes the cron job would run as root.
So I can’t stop it or change it because it has a higher rank and a different password then my main user?
Usually the password is different, yes. If you’re unfamiliar with Linux system administration you might ask for more specific help. Root is the administrative account that lets you add and delete user accounts, access all the system’s files, and that sort of thing. Ultimately though, it’s like the joke about how many psychiatrists it takes to change a light bulb (just one, but the light bulb has to want to change). If you want to break through your time limiting software, you will find a way to do so. So you have to be willing to go along with it.
I think if it will take longer then 5 minutes to circumvent it, then I will do the right thing