By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
BlogoteBlogoteBlogote
  • Software
  • Tech News
  • Business
  • Fashion
  • Finance
  • Health
  • Lifestyle
Search
  • Contact
  • Blog
  • Complaint
  • Advertise
Reading: Duplicate, Edit Locked Hosts File on Mac OS X 10.7 Lion
Share
Sign In
Notification Show More
Font ResizerAa
BlogoteBlogote
Font ResizerAa
  • Tech News
  • Gadget
  • Technology
  • Mobile
Search
  • Home
    • Home 1
    • Home 2
    • Home 3
    • Home 4
    • Home 5
  • Categories
    • Tech News
    • Gadget
    • Technology
    • Mobile
  • Bookmarks
  • More Foxiz
    • Sitemap
Have an existing account? Sign In
Follow US
  • Contact
  • Blog
  • Complaint
  • Advertise
Home » Blog » Duplicate, Edit Locked Hosts File on Mac OS X 10.7 Lion
How to

Duplicate, Edit Locked Hosts File on Mac OS X 10.7 Lion

admin
Last updated: June 6, 2022 7:49 am
admin
Share
SHARE

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.

Editing 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.

However, with the stable Mac OS X Lion, Apple just got a little smarter in restricting access to hosts file.

 

Even though if you are the admin of your Mac, you are not able to save the original hosts file located at /etc/hosts.

Unlock Hosts File?

Whether you are using an iMac, MacBook Air, or MacBook Pro, there’s no easy solution to unlock the locked hosts file. 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.

Some of the errors encountered while dabbling with the hosts file are as follows:

The file hosts cannot be unlocked. 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. You can duplicate this document and edit the duplicate. Only the duplicate will include your changes.

Terminal comes to the rescue if you want to manually edit the hosts file, even if the file is locked.

Steps to edit locked hosts file on Mac OS X Lion:

    1. Go to Spotlight and launch Terminal by typing in the keyword Terminal. You can also find Terminal under Applications -> Utilities -> Terminal.

 

    1. Now type this command in the Terminal screen: sudo nano /etc/hosts
    1. Terminal will prompt for your Mac’s admin password. Enter the password and you’ll be able to edit the hosts file.
  1. Once you’ve done editing the hosts file, hit the CTRL+X keys and then press Y (yes) to confirm and save the changes.
How to Open PDF Files on Mac For Free
How to detect Memory Leak in Firefox
How to fix Microsoft error code 0x426-0x0 0x0
Identify Fake Torrent Files
Alertpay: Paypal Alternative to Transfer Money Online Internationally

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
Share
Previous Article Convert, Create PSP Mp4 Movie Videos With Vuze
Next Article Website Unblocking Tips From The Pirate Bay

Stay Connected

248.1KLike
69.1KFollow
134KPin
54.3KFollow

							banner							
							banner
Create an Amazing Newspaper
Discover thousands of options, easy to customize layouts, one-click to import demo and much more.
Learn More

Latest News

Juanita Katt
Juanita Katt: The Private Daughter of a Hollywood Family
Biography
What Date is 72 Days From Today?
Guides
What is 18 Weeks From Today?
Weeks
Brazil Tech News
Brazil Tech News: Top 10 Startups Changing Latin America
News

You Might also Like

Instant Win Games & Free Prizes at Sweepstakes Advantage

admin
admin
3 Min Read

Unlock Angry Birds Level With JavaScript Code

James Betterson
James Betterson
2 Min Read

Save Megavideo Youtube Online Videos using Voodoo Downloader

James Betterson
James Betterson
1 Min Read
//

We influence 20 million users and is the number one business and technology news network on the planet

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

[mc4wp_form id=”1616″]

BlogoteBlogote
Follow US
Join Us!
Subscribe to our newsletter and never miss our latest news, podcasts etc..
[mc4wp_form]
Zero spam, Unsubscribe at any time.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?