To keep myself productive, I'd like to block access to certain websites no matter how little willpower I have.
One thing I've done on Windows is password-lock my modified hosts file and kept the password with a friend or somewhere I can't get to it. But all the "password-protecting" I've seen in Linux is just encryption into a different volume. My router has a content filter, but stupidly, it doesn't block HTTPS.
Assume I have zero willpower and I'm a heroin addict. My willpower fails when it comes to keeping applications or Firefox extensions enabled that aren't password-protected. It's way too easy to just disable them.
I was thinking of just changing my root password so I can't save changes to my hosts file, but sudo will work with my normal login details... Any other ideas?