I'm wondering if anyone has ever written a cron script that blocks ones remote access (specifically a linux email server that I access via alpine on my local linux machine over an ssh connection) over the weekend? I'd like to not rely on my own self-control nor do I have root privileges on the mail server.
I can imagine having a script that changes my password to a random string and then sets it back monday morning, but that seems like I'd have to have my password unencrypted somewhere. Alternatively, encrypt my ssh keys?
If you have insights or suggestions, I'd appreciate them.