Is it saying it's read only? If you are logging in as root (or su'ing to root from your normal acct) you should be able to write to your file... /etc/hosts.
If you do an "ls -l", what does the first line say? Mine looks like this:
Code:
-rw-r--r-- 2 root root 283 Aug 8 17:47 /etc/hosts