I'm trying to edit my hosts for anonymous reasons, the method I've been told to use is to open terminal and type:
However that doesn't work so I found that typing:
works fine when I was on 10.7 DP 4, but now that I'm running 10.7 GM the hosts file still opens but now I'm being told that I don't have permission to unlock the hosts file.
I clicked "Unlock"
Then I get this..
What should I do?
Code:
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
However that doesn't work so I found that typing:
Code:
sudo open -t /etc/hosts
works fine when I was on 10.7 DP 4, but now that I'm running 10.7 GM the hosts file still opens but now I'm being told that I don't have permission to unlock the hosts file.
I clicked "Unlock"

Then I get this..

What should I do?