如何关闭 Mac 的前置摄像头-谷科

安全一直都是大家关心的问题,总会有黑客利用潜伏的木马来打开你电脑上的各种软件。之前就介绍过 OverSight 监控所有能唤起 Mac 摄像头进程的软件,可以有效的避免不良软件的监视。

本次 Mac 教程就为大家介绍如何完整的关闭 Mac 的前置摄像头,没有任何应用能够再使用前置摄像头的权限,本教程适用于 macOS Sierra 以及 El Capitan。

1、最好先备份下你的 Mac,然后需要在终端中使用命令:csrutil disable,来关闭 SIP 功能。

2、继续在终端中依次输入以下命令:

sudo chmod a-r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

sudo chmod a-r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVC

sudo chmod a-r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizer

sudo chmod a-r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

sudo chmod a-r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

3、输入完以上命令之后,还需要重新开启 Mac 的 SIP 功能

在关闭了 Mac 的摄像头之后,包括 FaceTime,Skype,QuickTime 等应用都无法再使用内置摄像头功能,并会得到 『there is no connected camera』 的信息。

如何关闭 Mac 的前置摄像头-谷科

如何想要重新开启 Mac 的前置摄像头的话,仍然先要关闭 macOS 的 SIP 功能,然后依次输入以下命令:

sudo chmod a+r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

sudo chmod a+r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVC

sudo chmod a+r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizer

sudo chmod a+r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

sudo chmod a+r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

最后再开启 SIP 功能

via:OSXDaily