Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] MacOS X - How to disable System Integrity check (rootless/El Capitan)
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter
October 5, 2015 10:02 PM
With El Capitan (MacOS X 10.11), Apple introduced a so called "rootless" mode, which basically limits the capabilities of the root user, for example when using "sudo" or "su". For example, you can't touch directories like "/System", "/sbin", and "/usr" anymore.
Note that disabling this feature is probably not something you'd want, and I can only recommend this for developers and only at times that they need it. I would leave your Mac in "rootless" mode as much and as often as you can.
So most of us have seen this method to disable "rootless":
sudo nvram boot-args="rootless=0";sudo reboot
and this to enable it again:
sudo nvram boot-args="rootless=1";sudo reboot
Now there seems to be a second method to do this:
Restart the computer, and while booting hold down ⌘ Command-R to boot into recovery mode.
Once booted, navigate to the "Utilities" -> "Terminal" in the top menu bar.
Enter "csrutil disable" in the terminal window and hit the return key.
Restart the machine and System Integrity Protection will now be disabled.
To reenable System Integrity Protection follow the steps above, except use the "csrutil enable".
In normal use, you do not need to be in recovery mode, you can use "csrutil status" to see if System Integrity is enabled or not.