Rootless机制将成为对抗恶意程序的最后防线
Rootless机制将成为对抗恶意程序的最后防线
Rootless机制将成为对抗恶意程序的最后防线

关闭Rootless机制

  1. 进入恢复模式(重启系统时按住command+R进入恢复模式)下打开终端;
  2. 关闭系统SIP保护:csrutil disable;
  3. 重启,进入正常系统;

解决无法添加VMware辅助功能的问题

  1. 进入系统后打开终端;

  2. 依次输入以下命令:

sudo chmod 777 /Library/Application\ Support/com.apple.TCC
sudo rm -rf /Library/Application\ Support/com.apple.TCC/TCC.db
  1. 重启系统

解决VMWare黑屏问题

  1. 打开终端;
  2. 依次输入以下指令(可能会要求输入自己的本机密码):
tccutil reset All com.vmware.fusion
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceScreenCapture", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceListenEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServicePostEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
  1. 重新启动VMware fusion,发现已经解决黑屏。

重新打开Rootless机制

  1. 进入恢复模式(重启系统时按住command+R进入恢复模式)下打开终端;
  2. 关闭系统SIP保护:csrutil enable;
  3. 重启,进入正常系统;
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐