3

I'm using Mac OX X 10.7.4. I changed my /private/etc/hosts file, but when I restarted my computer, my change is gone, like it was reset by the system.

Has anybody else encounter this problem? How did you resolve it?

JoshP
  • 2,272
  • 3
  • 22
  • 28

2 Answers2

1

Are you using Cisco AnyConnect VPN Client? It seems to overwrite /private/etc/hosts with /private/etc/hosts.ac.

See

Matteo
  • 7,717
  • 2
  • 42
  • 57
0

Are you using sudo? you need root privileges to modify system files. Try

sudo nano /etc/hosts

sudo nano /private/etc/hosts

If you are using AnyConnect then check this /etc/hosts getting reset in Lion