• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: March 9th, 2025

help-circle
  • Levi@lemmy.catoLinux@lemmy.mlHow can I block websites?
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 days ago

    If redirecting with /etc/hosts isn’t enough, you could set up a cron job (I guess as root?) to re-copy a hosts file back to /etc/hosts every half hour or something. That way even if you do manually change /etc/hosts for an quick peak of an illicit website, it’ll go back to being blocked in a short amount of time. This’ll add a bit of the “pain in the ass” factor.