1

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

In previous OSX versions, the command was

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

But this no longer works under Yosemite?

Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
Michel Kapelle
  • 149
  • 1
  • 2
  • 11
  • 1
    This isn't really a programming question, so I'd suggest that you try asking over on [Ask Different](http://apple.stackexchange.com/) instead. – GoBusto Feb 05 '15 at 16:25

1 Answers1

3

Eventually found a solution, i now use

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

and after that all usbs are disabled.

Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
Michel Kapelle
  • 149
  • 1
  • 2
  • 11