![]() ![]() ![]() If you have any security or anti-virus installed, remove it completely and then try again. The only requirement is that the user that you are logged in as must be an administrator.Ībout the only thing that I can imagine that might restrict sudo access to the hosts file would be security or anti-virus software installed on your Mac. What happens when you follow BobHarris' instructions? Also, execute the following terminal and let us know what the result is: ls -ale /etc/hosts The instructions to use nano as sudo WILL work on any version of Mac OS and would not be restricted by any of Apple's security features. So I do not know why it likes me, but it did work for me. But, I did test 'sudo nano /etc/hosts' both before I posted my reply, and just now. ![]() If you think it is SIP that is stopping you, then you can disable it, modify /etc/hosts, then re-enable SIP (a lot of steps) Or Google 'disable os x sip' and you will find more links. I was able to modify my /etc/hosts files on my El Capitan system using 'sudo nano /etc/hosts' and SIP was enabled on my system csrutil status System Integrity Protection status: enabled. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |