打印

[軟件] MAC 停用 SIP Mode

MAC 停用 SIP Mode

1. 重新開機
2. 重開後長按Command-R進入Recovery Mode
3. 進入Recovery Mode之後,從Utilities > Terminal打開終端機
csrutil disable


http://blog.ccjeng.com/2015/10/H ... OSX-El-Capitan.html

[ 本帖最後由 fo2live 於 2016-3-15 15:52 編輯 ]

TOP

停用USB (Yosmite可以,Ei Captain仲未得)

But here is an more gentle approach:
- In terminal: kextstat -kl|grep IOUSB
- if IOUSBMassStorageClass is in the list the kernel extension is loaded; make sure there is no USB Mass Storage connected (unmounting is not enough)
    - In terminal: sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
- if folder '/System/Library/Extensions Disabled' does not exists then
     - In terminal: sudo mkdir  '/System/Library/Extensions Disabled'
- in terminal: cd /System/Library
sudo mv Extensions/IOUSBMassStorageClass.kext/ Extensions\ Disabled/

You now have gently unloaded the kernel extension and disabled it for further loading. To undo this task, when you ever need it to work again simply move the extension back into the extension folder.

Keep in mind though that some system updates can install a newer version of this extension and USB Mass storage is enabled again, you need to redo those steps.

[ 本帖最後由 fo2live 於 2016-3-15 21:52 編輯 ]

TOP