I never blamed Linux for it, I would have the same problem with Windows or MacOS.
But since I use Linux, I ask for a solution that works on Linux
I never blamed Linux for it, I would have the same problem with Windows or MacOS.
But since I use Linux, I ask for a solution that works on Linux
I’m pretty sure the packages are built as unprivileged users in a sandbox, and you can also restrict what users can use certain Nix features.
Are Nix packages sandboxed by default?
Psychologically the carrot is better than the stick, meaning you’ll keep fighting the lock-out mechanism, eventually resenting it and removing it.
The logout mechanism just needs to though me out of my way and take at least 5 minutes (better more) to circumvent, this will probably be enough for me to do the right thing.
Having an alert to remind you that you wanted to stop will be more pursuasive. (I have a “go to bed” alarm with a gentle, gradually increasing volume on my phone)
I tried this for many times, but ended up just dismising the alarms because my will is weak
I do them with Linux, why is this so hard to understand?
As I only use sudo to update my system, I could use a user that doesn’t has sudo access and set up some a cron job to do updates once a day. And flatpak instalation and updating doesn’t require sudo at all
Not necessary the operating system it self, but the things I do with Linux, like researching stuff, enganging in discussion’s and playing games, are addictive for me
Will it be possible to set multiply block times?
I think if it will take longer then 5 minutes to circumvent it, then I will do the right thing
Is this the Github of it: https://github.com/linux-pam/linux-pam ?
Could I pam_time root or something that has a higher rank and a different password then my main user?
It all depends on how “forced” you want to be.
I would say: It should take at least 3 minutes (better more) to circumvent it.
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.
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.
So I can’t stop it or change it because it has a higher rank and a different password then my main user?
cron job that launches the lock screen at the specified time and unlocks it later?
Is there a way to only allow changing it when entering a password (that is different from the user password)
So that you understand the point.
If I would be on Windows, I would ask for a Windows solution