What Happens When You Disable System Integrity Protection?

Wondering where this "disabling" actually takes place. You need to boot into recovery mode, that I understand, and what actually happens when you disable SIP I also understand, but where does this "disabling" take place?


Even though you are in recovery mode, by disabling SIP is the changes made to the actual OS (in my case Mojave), or is the change made to some hidden boot system that's not part of the OS and only Apple has access to? And, if you disable SIP (or make other changes) via the Terminal while in recovery mode, and then you do a clean install of Mojave, are all those changes wiped out?


Thanks!


iMac Line (2012 and Later)

Posted on Dec 7, 2018 7:36 PM

Reply
5 replies

Dec 7, 2018 8:47 PM in response to MargeHomer

There are several ways that SIP protects the file system. There are lists maintained in files, there are extended attributes attached to files and folders, and likely other ways that the OS annotates that a file/folder should be protected.

With SIP enabled, even the root user cannot manipulate the protected files.

With SIP disabled, the root user can alter anything at all.


Before SIP, the root user could alter anything. After SIP, Apple protected certain things so that even root could not change.

Dec 8, 2018 3:52 AM in response to MargeHomer

I guess I should have been more clear on my concern. I think when I did change the SIP setting via recovery/terminal I may have screwed up the spelling when I enabled SIP with "csrutil enable" and rather than the normal one line response I ended up getting about a dozen lines of text. So, just to be safe, I booted up again in recovery mode, erased the HD with Disk Utility and did a "clean install" of Mojave. So my question would have been better stated "when you do a clean install of the operating system, are any possible screw up you may have made in terminal wiped out?" Thanks again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What Happens When You Disable System Integrity Protection?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.