news.ycombinator.com
macOS 27: ifconfig command no longer prints hardware MAC address
Just a quick PSA. A handful of my scripts broke today after installing macOS 27. Turns out they decided to redact the interface hardware ether/MAC addresses, all of them report 02:00:00:00:00:00 (…unless you run with "sudo") Luckily, you can still get the MAC addresses with networksetup -getmacaddress en0
Comments
5 preview comments · loading full threadLog in to h4cker, then connect Hacker News to publish comments.
I filed a bashbug: https://savannah.gnu.org/bugs/index.php?68722
Who needs a physical MAC address when you can just have a spiritual connection to the iCloud?
27.0.1 did not fix it, and I reproduced it on 2 more Macs, one was literally factory reset, just installed a fresh macOS 27, installed Homebrew, installed Bash5, ran ifconfig .... bug reproduced
[deleted]
Interestingly, running `ifconfig` from a Zsh shell still does show MAC addresses