Skip to content

Instantly share code, notes, and snippets.

@MSayib
Created October 9, 2023 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MSayib/286436e7517c4af05e33e074b8eb06f4 to your computer and use it in GitHub Desktop.
Save MSayib/286436e7517c4af05e33e074b8eb06f4 to your computer and use it in GitHub Desktop.
Cara ubah locked file di MacOS

Cara atasi file locked seperti file hosts di /etc/hosts atau file lainnya adalah dengan cara copy file tersebut ke tempat lain, kemudian replace dengan file yg tidak locked menggunakan Touch ID atau Password (Admin).

FYI:

file yang ada di /etc/ seluruhnya di mirror ke /private/etc

Jadi yg diubah sebaiknya yg di /private/etc saja agar file sistem aman di /etc

Tags:

  • edit hosts file on macOS
  • modify hosts file on macOS
  • change hostss file on macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment