MacOS Method for updating the Host file (password not required)

Source: Internet
Author: User


Use MacOS to update the Host file (without password) to open the Finder, and then click go to -- go to the folder (or press the shortcut key Shift + Command + G) in the menu bar, www.2cto.com

Enter/private/etc in the path, right-click the etc folder and choose show introduction. In the folder introduction window, find share and permission ", change the permission of everyone to "read and write". If you find that the permission cannot be modified, unlock the lock in the lower right corner and modify it. after modifying the permissions of the etc folder, go to the etc folder and modify the permission for the hosts file (also everyone reading and writing). After the modification, you can right-click the hosts file, open and edit the file through text editing. After modifying and saving the file, remember to restore the permissions of the file and the etc folder.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.