0

Possible Duplicate:
How to make changes to Mac /etc/hosts permanent?

I have a Mac Air that my little brother uses. Unfortunately, he likes to waste his time on computer games :(

To prevent him from doing that, I added a line akin to the following to my /etc/hosts/ file:

127.0.0.1 somereallyaddictinggamesite.com

However, my /etc/hosts file always refreshes every time I reboot my Mac, so this line goes away every time I turn on my Mac.

How do I make permanent changes to my /etc/hosts file?

David Faux
  • 4,899

1 Answers1

1

The hosts file doesn't normally get reset in OS X. Are you using the Cisco AnyConnect VPN client on your computer? It'll reset the file based on /etc/hosts.ac, so if you're using it you need to make customizations both places. See this previous question and the Mac OS X Hints article that answered it.