Home > Hosts File > Cannot Edit Hosts File Mac

Cannot Edit Hosts File Mac


Johnnyr thx Bart To block facebook? Open it in TextEdit, make the changes you want to make to it, save it as plain text, retaining the name hosts. Once you’ve made your desired changes to the hosts file, save it in its current location on the Desktop. Reply mrpink says: April 17, 2013 at 10:46 am thank you so much!!!:) Reply M says: November 6, 2013 at 10:58 am Very Helpful! my review here

Back at the command line, type sudo killall -HUP mDNSResponder then type return. I am locked out of facebook on this Mac, and want to get back in cause my tablet is not user friendly. Thanks! Maybe there is a better alternative.

You Don’t Own The File “hosts” And Don’t Have Permission To Write To It.

Double-click Terminal. Yes, there are several ways to move files on your server. you might also need to take ownership of the file itself.

Apparently I can't post links here, so just google "osx hosts system pref" and it's the link on macupdate.com 0 2 years ago Reply funkotronic Total necropost, or more accurately, a Have any questions? Name (required) Mail (will not be published) (required) Website « New iPhone's Bigger Screen to Have 5th Row of Homescreen Icons? El Capitan Hosts File S- share Share on Twitter Share on Facebook Email Link Like + Quote Reply Watabou, Sep 22, 2011 Watabou macrumors 68040 Joined: Feb 10, 2008 Location: United States #10 Why

This seems like you are resolving to your server, but there is no website in the root folder. How To Edit Hosts File Mac To do that and fix your hosts file or your /etc folder (depending where you applied your read/write permissions) follow these steps: Throw away your newly created hosts file (but not It doesn't matter if I restart the browser or computer. http://apple.stackexchange.com/questions/160042/why-cannot-i-edit-my-hosts-file Read more.

By adding or removing lines to your hosts file you can change where certain domains will point when you access them in a browser or using other software. /private/etc/hosts Reply sarah n/a Points 2014-06-10 10:30 am I am stuck on step 4 as well. Some referral links may not work with this block list in place (since they typically chain tracking links), but you can selectively comment out (with a #) the sites you want If you don't know why you'd want to edit the hosts file, you have no business editing the hosts file, and thus it could go wrong or inexplicably mess something up.

  • Reply Chris says: October 18, 2012 at 10:23 am I messed around with terminal to unblock facebook in Vietnam and now I can't re-access it in the States.
  • Been trying to figure this out for a week now and going around in circles.
  • Reply ebut says: August 8, 2012 at 9:07 am /private/etc/hosts is the source, /etc/hosts is hard linked to it.
  • It suggests that I find the file and unblock it but I dont know how… Reply Bingo says: January 11, 2013 at 8:27 pm You need root access to edit the
  • Don't let the command line or Terminal sound intimidating though because it's not, we'll make the entire process super easy.
  • Please help Reply Leave a Reply Click here to cancel reply.
  • Reply Ted November 4, 2013 at 11:03 pm Thanks for this - I trawled around hopelessly for an hour trying to find a way to prevent Hotmail/Outlook sending my wife and
  • Double-click Terminal.
  • You’ll have to use the arrow keys to move the cursor around as your mouse pointer will not work here.

How To Edit Hosts File Mac

Let us know in the comments. you could check here Advertisement Latest Giveaways Elephone Elecam 360 Camera Review and Giveaway Elephone Elecam 360 Camera Review and Giveaway James Bruce November 4, 2016 04-11-2016 iPhone 7 Plus Review & Giveaway iPhone 7 You Don’t Own The File “hosts” And Don’t Have Permission To Write To It. http://www.clockwise.ee/gasmask/ One thing it can do is sync a hosts file from a URL such as http://someonewhocares.org/hosts/hosts which keeps track of bad sites. Hosts File Mac El Capitan We welcome any additional suggestions you may have.

Required fields are marked *Comment Name * Email * Tim Brookes 1098 articles Tim is Mac and iOS editor for MakeUseOf and can currently be found living in Melbourne, Australia. http://skimwp.org/hosts-file/cannot-edit-hosts-file-xp.php It's kept at /etc/hosts for a reason, it is not intended to be accessed by novice Mac users. Alternatively, you can enter the IP address of a valid site instead of, which will result in users attempting to access Facebook being directed to the site of your choosing. I use VIM personally but for those who want a GUI, editing hosts with TextWrangler is the way to go. Edit Hosts File Mac El Capitan

Because we launched Nano using sudo, any changes will be authenticated and saved directly to the original hosts file, without the need to copy it outside of its home directory. Reply Maged says: February 29, 2016 at 2:31 pm I've been using TextWrangler for years to do this. Thank you. http://skimwp.org/hosts-file/cannot-edit-hosts-file-in-xp.php Reply Llew n/a Points 2014-09-24 11:37 pm you are missing a step between contrl-o and control-x you need to hit enter Reply Muhammad n/a Points 2014-11-20 7:40 pm It would help

Reply Tesi says: August 31, 2012 at 2:37 pm facebook redirects to https:// these days you'll need to add facebook.com and http://www.facebook.com to block it effectively Reply Bill says: September 14, How To Block Activate.adobe.com By Hosts File Mac And still do nothing. Are you getting an error trying to do this?

jW share Share on Twitter Share on Facebook Email Link Like + Quote Reply VideoNewbie, Sep 9, 2012 VideoNewbie macrumors 6502 Joined: Feb 6, 2009 #21 Mal said: ↑ Did

One thing that might work however is redefining a hostname to an IP address only you know, and then accessing it that way. But I wonder why i could simply unlock it after using the other command and you couldn't... some people are new to linux commands so it would help if it is added. Osx Hosts System Pref Then you can erase the line you added.

This will NOT keep FacePlant from sending you email. /etc/hosts is only for resolving names to addresses from YOUR machine's point-of-view. What should I do? The changes will not save with: When finished, hit Control+O to save changes to /private/etc/hosts, then hit Control+X to exit out of nano DO THIS: When finished, hit Control+O, THEN CLICK useful reference Once before i tried to fix a problem on my PC and 3 laughing clowns were all that was left of my hard drive. :( Thank you.

Reply P2Vak May 24, 2016 at 7:11 pm Thanks for the article. We have a helpful article that explains What directory you should put your files in. Reply Aberto I says: August 7, 2012 at 11:44 pm You can use Gas Mask too http://code.google.com/p/gmask/ Reply Petr says: August 8, 2012 at 3:12 am What is a difference between I'm sure there are other websites you'd also like to never see again, but facebook is the leader of useless crud if you were to ask me.

You're now in the Nano text editor. If I receive written permission to use content from a paper without citing, is it plagiarism? Reply John-Paul Staff 25,742 Points 2015-04-16 5:12 pm Hello Pamela, Thank you for your question. Your Mac builds up a hidden cache file to remember those details later on, when you visit the same site again.

And on a slightly unrelated note, YouTube is a pretty good educational/entertainment resource. type sudo nano /etc/hosts then hit return. Download TextWrangler, and (after backing up the default hosts file), update the hosts file to block many known malware, tracking, ad sites, etc., from here: http://winhelp2002.mvps.org/hosts.htm (even though the URL says