MAC关闭SIP:system integrity protection is on, some f

在MAC下安装了iotop,在启动的时候报了一个错:app

system integrity protection is on, some features will not be availableide

网上查了下,是由于Mac启用了SIP策略,那该如何关掉SIP呢?测试

 

1.首先查看sip状态spa

sudo csrutil status.net

输出以下:orm

System Integrity Protection status: enabled.blog

2.尝试禁止sip:ip

sudo csrutil disableget

输出以下:博客

csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.

该提示说:要进入恢复模式才能执行该命令

3. 进入恢复模式

重启Mac,而后在系统刚启动时按下:Command+r

4. 进入恢复模式后打开终端

输入:csrutil disable

如图,显示禁用成功,让咱们重启电脑生效

5. 重启Mac

6. 从新查看sip状态

sudo csrutil status

关闭SIP成功!能够执行iotop了,输入:sudo iotop

博主:测试生财

座右铭:专一测试与自动化,致力提升研发效能;经过测试精进完成原始积累,经过读书理财奔向财务自由。

csdn:https://blog.csdn.net/ccgshigao

博客园:https://www.cnblogs.com/qa-freeroad/

51cto:https://blog.51cto.com/14900374