osx - How to block/unlock USB port in mac os x programatically without reboot -


is there way block/unblock usb mass storage device in macos x using script or i/o framework without reboot ?

the same can done in window using system commands, wanted know if possible on os x.

you can use apple's workgroup manager to configure removable media access without server. after you've disabled removable media access via workgroup manager, can use export menu command save policy file implements restrictions. can script enabling/disabling restrictions using dscl . -mcximport (you can read more in enterprise mac managed preferences).


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -