mac进入恢复模式,关闭/启动系统完整性(SIP)


一、首先进入恢复模式

M1芯片:长按开机键会直接进入,选择【选项】点击继续 Inter处理器:使用Command+R键进入  

二、进入终端,输入csrutil disable关闭系统完整性

实用工具->终端   查看SIP状态
csrutil status
  关闭SIP
csrutil disable
  开启SIP
csrutil enable
 

关闭SIP时报错:

csrutil: Failed to update security configuration for “Macintosh HD”: Failed to create local policy   解决问题步骤如下:
  1. csrutil clear
  2. Restart and return to the recovery terminal
  3. csrutil disable