# Mac OS X El Capitan – How to manage SIP (System Integrity Protection)

Zarzadzaj System Integrity Protection w Mac OS X El Capitan, uczac sie jak sprawdzic, wylaczyc i ponownie wlaczyc SIP.

blog

19 Oct 2015 pl

[Zobacz obrazy (5)](#pf-content-image-1-0)

Apple new system **Mac OS X El Capitan** brings its newest and the most secure system protection on the market. Or so they say…

**System Integrity Protection** — also known as “**rootless**” — functions by restricting the root account so that the operating system kernel puts checks on the root user’s access and won’t allow it to do certain things, such as modify protected locations or inject code into protected system processes.

All kernel extensions must be signed, and you can’t disable **System Integrity Protection** from within **Mac OS X** itself. **Applications** with **elevated root permissions** can no longer tamper with system files. While it's a good thing for a standard user it's not necessary a win-win scenario for those more advanced users who like to play with their systems or install **plugins** that require a bit more permissions.

### 💡 Solution

Managing SIP requires you to boot into recovery mode by restarting your **Mac OS X El Capitan** and using terminal commands to control the **System Integrity Protection**.

To boot into recovery mode, restart your **Mac OS X **and hold **Command+R** until system enters **Recovery Mode**. By doing this you enter the recovery environment which features an ability to disable SIP without too much effort.

While inside Recovery Mode click the “**Utilities**” menu and select “**Terminal**” to open a **terminal** **window**.

The command that does all the heavy lifting is called **csrutil**. While it's available for execution within normal mode commands that we will be using require **Recovery OS**.

[!\[HowToManageSIP-1\](/wp-content/uploads/2015/10/HowToManageSIP-1-1024x768.png)](/wp-content/uploads/2015/10/HowToManageSIP-1-1024x768.png)

> usage: csrutil Modify the System Integrity Protection configuration. All configuration changes apply to the entire machine. Available commands: clear Clear the existing configuration. Only available in Recovery OS. disable Disable the protection on the machine. Only available in Recovery OS. enable Enable the protection on the machine. Only available in Recovery OS. status Display the current configuration. netboot add Insert a new IPv4 address in the list of allowed NetBoot sources. list Print the list of allowed NetBoot sources. remove Remove an IPv4 address from the list of allowed NetBoot sources.

[!\[HowToManageSIP-2\](/wp-content/uploads/2015/10/HowToManageSIP-2-1024x768.png)](/wp-content/uploads/2015/10/HowToManageSIP-2-1024x768.png)

Type the following command into the terminal and execute following command to verify the status of **System Integrity Protection**.

> **csrutil status** System Integrity Protection status: enabled.

or

> **csrutil status** System Integrity Protection status: disabled.

[!\[HowToManageSIP-Status-2\](/wp-content/uploads/2015/10/HowToManageSIP-Status-2-1024x768.png)](/wp-content/uploads/2015/10/HowToManageSIP-Status-2-1024x768.png)

After verifying whether **System Integrity Protection** is enabled or not you can make your decision and either **disable** or **enable SIP**.

To **disable SIP** just type in the command and press ENTER

> **csrutil disable** Successfully disabled System Integrity Protection. Please restart the machine for the changes to take effect.

[!\[HowToManageSIP-Disable-1\](/wp-content/uploads/2015/10/HowToManageSIP-Disable-1-1024x768.png)](/wp-content/uploads/2015/10/HowToManageSIP-Disable-1-1024x768.png)

Restart your **Mac OS X El Capitan** and your new **System Integrity Protection** setting will take effect. The root user will now have its full, unrestricted access to the entire operating system and every file, just like it used to in **Mac OS X Yosemite**.

To **enable SIP** back just type in the command and press ENTER

> **csrutil enable ** Successfully enabled System Integrity Protection. Please restart the machine for the changes to take effect.

[!\[HowToManageSIP-Enable-2\](/wp-content/uploads/2015/10/HowToManageSIP-Enable-2-1024x768.png)](/wp-content/uploads/2015/10/HowToManageSIP-Enable-2-1024x768.png)

And you're ready to go “**rootless**” again.

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:53441BA2FF8A9D8F421085EAC51B8B5B7F3A2CE07828D4873DB480502A1F93C8 -->
