Mac OS X 10.10 disables USB ports

Can anyone tell me how to disable all USB ports on OSX 10.10 (Yosemite)? We have a large number of iMacs settings where we don't want the user to be able to control / use the USB ports.

In previous versions of OSX, the command was

cd /System/Library/Extensions
mv IOUSBMassStorageClass.kext/ IOUSBMassStorageClass.kext.bup

      

But does that no longer work under Yosemite?

+1


source to share


1 answer


Eventually found a solution, now I am using

cd /System/Library/Extensions/
sudo kextunload IOUSBMassStorageClass.kext

      



and then all the usbs are disconnected.

+3


source







All Articles