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?

  • sudoer777@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Pipe /dev/random to passwd for your user and put it in a chron job, then have another chron job that echos your original password back

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        It wouldn’t permanently lock you out if it failed because you can boot into a live ISO to change your password back if it fails to change it back to your original password.