4

Apple System Integrity Protection(SIP)相关配置笔记

 3 years ago
source link: https://www.itpwd.com/372.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Apple System Integrity Protection(SIP)相关配置笔记_Mac笔记_IT密码

如何确定当前SIP的状态,苹果的Mac设备默认开启

csrutil status

System Integrity Protection status: enabled. #启用

System Integrity Protection status: disabled. #关闭

苹果Mac设备关闭/启用SIP

重新启动设备进入恢复模式(开机后Command+R进入)的命令窗口里可使用如下命令关闭/启用:

csrutil disable #关闭SIP
csrutil enable #启用SIP

黑苹果/Hackintosh,Clover关闭SIP,请更新至3258及以上版本,并在config.plist中加入如下参数:

<key>RtVariables</key>
        <dict>
                <key>CsrActiveConfig</key>
                <string>0x13</string>
        </dict>

从Clover 3729版本起,也可直接在Clover界面菜单中选择需要关闭的保护技术。

SIP在macOS中保护哪些文件夹

/System
/sbin
/bin
/usr 
/Applications *

*/Applications中的预装软件(日历,照片,Safari浏览器,终端,控制台,App Store,备忘录等)受到保护

提醒:如为了稳定使用,个别软件首次运行需关闭SIP,可先按照上述方法先关闭SIP,首次执行完软件后,再关闭SIP即可。

必须持续关闭SIP才可以使用的软件:

BetterZip > 4.2.2

CleanMyMac X > 4.1.0

Parallels Desktop > 14.0.1

如不希望关闭SIP,可保留上述版本或者更低使用即可

另外个别和谐版软件还需要这个作为前提:传送门


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK