If you do not perform the above instructions correctly, then you will not be able to connect to the Internet, and you will need to rely upon that backup.
Either delete the ones you have, or add a # and space character to the beginning of each line as described.īack up your Mac prior to making any changes. The example screenshot in the Apple Support document shows an line ending in gs. which is used as an example of an offending entry. Those offending entries will prevent communication with their corresponding addresses. A modified Hosts file is likely to contain one or more lines in addition to them. Your Mac's Hosts file will probably start with entries like the above. By default that file should resemble what MrHoffman wrote, repeated here for reference:
Use those instructions to edit the offending entries in your Mac's Hosts file. The instructions for fixing a modified Hosts file appears in that document, under the heading If the hosts file blocks the iTunes Store in Mac or Windows. I know of no reason that Adobe Acrobat would need to alter Hosts, but to fix an altered Hosts file please refer to Advanced steps for fixing issues with iTunes Store connection - Apple Support.ĭon't be misled by the title. And maybe copy and paste the command you used for editing the file to begin with. Maybe try to edit the file again and take a screen shot of the error message. Then, you should be able to use the "sudo" command.Ģ) should cause some other error message, but it's hard to tell these things on the internet. In the Terminal, you can type "su " where is the short name of an administrator account on your machine. There are only two reasons why you wouldn't be able to edit it:ġ) You are using a standard user who cannot execute sudo, orġ) is the most likely. It is not part of El Capitan's System Integrity Protection (AKA rootless). There are legitimate reasons to edit the hosts file, but that particular Adobe tech you talked to probably assumes the most common reason, like I did.Ī bigger question is why you can't edit that file. I'm quite sure it would be Adobe's initial assumption too. I'm not necessarily saying that you did that, but that would be my initial assumption in these cases - just the law of averages at work.
However, hacking the hosts file to pirate Adobe software is extremely common.
I haven't seen the file, so I can't comment on it. (Does Adobe really modify the hosts file? Seriously?) Here's a related discussion over in the Adobe forums. Here's a related description, using TextEdit and the GUI. To gain access - as others have indicated - use the following command, and the nano text editor: # localhost is used to configure the loopback interface If the hosts file is not at its default configuration, then something (or someone) changed it - and you'll want to determine what happened.Ī typical hosts file looks something like this: If the hosts file is at its default configuration, then there's no need to access it. While it might be correct, this is also something that some folks use to either break Adobe licensing, or that can be used to gain access to your system. You can also find Terminal under Applications -> Utilities -> Terminal.I'm skeptical about the approach that this tech is following, too.
) Double-click Install Adobe Acrobat Reader DC to start the installation.
Steps to edit locked hosts file on Mac OS X Lion: (If you don't see the Safari Downloads window, click Finder > (User Name) > Downloads. Terminal comes to the rescue if you want to manually edit the hosts file, even if the file is locked.
Only the duplicate will include your changes. You can duplicate this document and edit the duplicate. You don’t own the file hosts and don’t have permission to write to it. Some of the errors encountered while dabbling with the hosts file are as follows: If you duplicate hosts file, you’ll probably end up with another version of hosts file, which acts no more than just a backup of the original hosts file. Whether you are using an iMac, MacBook Air, or MacBook Pro, there’s no easy solution to unlock the locked hosts file. However, with the stable Mac OS X Lion, Apple just got a little smarter in restricting access to hosts file.Įven though if you are the admin of your Mac, you are not able to save the original hosts file located at /etc/hosts.
Hosts file is like an address book where you’re given the control to block a handful of websites, restrict advertisement from appearing on webpages, and exclude objectionable content found on the Internet.Įditing and duplicating the entries of hosts file on Mac OS X 10.7 Lion and Snow Leopard machine is as easy as editing on Windows platform.