Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

We need a way to disable the microphone so it cannot be re-enabled, at least by an unprivileged user. And preferably via the command line, so it can be scripted. On some Macs, we've been able to remove kexts, but on others, that also disables speakers, and we'd like to keep sound output.

share|improve this question
Sound routing is a user setting, so you cannot keep user's from switching it. You might be able to do that via parental controls, haven't checked that. If you're in a very high security environment you're better off disconnecting the internal mics in hardware. That still leaves the possibility to connect an external mic. – MacLemon Dec 6 '12 at 11:23

1 Answer

I think the only way you could do this is chmod and or chown the Preferences app, of course this can be done via the command line.

sudo chmod 000 /Applications/System\ Preferences.app

Or

sudo chown root /Applications/System\ Preferences.app

In addition you could build an Apple Script to Mute the Microphone

tell application "System Events" to set volume input volume 0

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.