Caution on macOS 10.12.4: sudo is broken(macperformanceguide.com) |
Caution on macOS 10.12.4: sudo is broken(macperformanceguide.com) |
This line bugged me a bit, surely if you're a "pro" user, you would have a set of dotfiles and a script to install things from Homebrew.
Would look at tcpdump or netstat (look for SYN_SENT connections) while sudo is hung. Also suggest hitting ctrl-t a few times while sudo is busy and see what is going on. Can also dtrace sudo and/or whatever dtrace shows sudo is talking to, and you'll eventually find the problem that way for sure (though you might not be able to fix it, but I suspect you will).