Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hi there I'm trying to set my mac address using the terminal as for some reason it's been set to all zeros, I have the address and know the correct commands but I keep getting permision denied message

share|improve this question

1 Answer 1

In principle the command should be some variant on the theme of:

sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff

in Mac OS prior to 10.7, with various interface names etc, in use. It seems that you may need to disassociate from the wireless network first, but leave the wireless on -- some manage this by typing 'sudo airport -z' first, whilst there are various other workarounds suggested in the links below. There are various hints about MAC address spoofing on OSX daily and on this thread.

As regards 'permission denied' errors - did you prefix the commands with 'sudo'?

share|improve this answer
Depending on which version of OS X you're using, you might have to change en0 to the en1 interface, but otherwise, looks good! –  qegal Aug 25 '12 at 1:42

Your Answer


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.