Turn off System Integrity Protection on your Mac

Turn off System Integrity Protection on your Mac

What is System Integrity Protection

OS X El Capitan and later includes security technology that helps protect your Mac from malicious software.
System Integrity Protection restricts the root user account and limits the actions that the root user can perform on protected parts of the Mac operating system.

System Integrity Protection includes protection for these parts of the system:

/System
/usr
/bin
/sbin
/var

Apps that are pre-installed with OS X
Paths and apps that third-party apps and installers can continue to write to include:

/Applications
/Library
/usr/local

System Integrity Protection is designed to allow modification of these protected parts only by processes that are signed by Apple and have special entitlements to write to system files, such as Apple software updates and Apple installers. Apps that you download from the Mac App Store already work with System Integrity Protection.

How to turn off SIP

  1. First, start up from macOS Recovery
    While restart the mac, Press and Hold the Command + R buttons at the same time and Release all buttons When the Apple logo comes up on the screen.
  2. Open Terminal
    The menu at the top of sreen, click Utilities > Terminal
  3. Enter the following command to disable SIP
csrutil disable
  1. Reboot the mac
    Now the action of closing SIP is complete

  2. Check SIP is disabled
    open terminal

ls -lO /System /usr

Reference

Comments

Popular posts from this blog

Convert a shell script into an executable binary

Understanding htop value

Mac terminal environment setup - zsh + Powerline + tmux