simsaladimbamba is right on the permissions settings, but I'd just sudo in terminal and edit there without resetting since you really don't need to for what you're doing.
sudo nano /private/etc/hosts
should get you there.
I've tried 'sudo nano /private/etc/hosts' and this is the response:
sudo: /private/etc/sudoers is mode 0666, should be 0440
sudo: no valid sudoers sources found, quitting
Macs-MacBook-Pro:~ mac$
How should I change the mode to 0440?
Other than permissions - there's a handy app called Gas Mask that makes editing the hosts file a snap.
http://www.macupdate.com/app/mac/29949/gas-mask
Other than permissions - there's a handy app called Gas Mask that makes editing the hosts file a snap.
http://www.macupdate.com/app/mac/29949/gas-mask