关闭 OSX 10.11 SIP (System Integri
2019-03-08 本文已影响0人
关羽007
关于MAC系统没有修改/usr/bin和/usr/sbin文件夹权限问题是由于系统启用了SIP(System Integerity Protection)导致root用户也没有修改权限
具体做法是:
1.重启电脑
2.command + R 进入recover模式
3.点击最上方菜单使用工具,选择终端
4.运行命令csrutil disable
5.当出现successfully字样,代表关闭成功!
问题:
在进行之前必需要确认你能进入Recovery OS,所以将你的系统重开机后按下Option(alt)键后进入选择启动磁碟

recover模式下 csrutil常见命令
查看状态执行csutil status:
SystemIntegrity Protection status: enabled (Custom Configuration).
单单关闭SIP执行sudo csrutil enable --no-internal:
Successfully enabled System Integrity Protection. Please restart the machineforthe changes to take effect.
如果你出现
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.
代表你使用的并非Recovery OS开机,请确定从Recovery OS开机再执行