sudo hangs before password
macOS Sierra
Version: 10.12.4 (16E195)
After updating today my OS, in a terminal when doing:
sudo ls
it hangs for a minute before showing the password.
What is going on?
How to debug this?
MacBook Pro, Mac OS X (10.7.5)
Apple Event: May 7th at 7 am PT
macOS Sierra
Version: 10.12.4 (16E195)
After updating today my OS, in a terminal when doing:
sudo ls
it hangs for a minute before showing the password.
What is going on?
How to debug this?
MacBook Pro, Mac OS X (10.7.5)
That's interesting, it is not happening here. Works as expected, very fast. Try creating a new account or using the Guest account and open a Terminal session and test.
Already tried new accounts AS NOTED ALREADY. Please study all the notes I already show above.
I've already spent an hour with /etc/sudoers. I'll study the one above, but I found no solution using /etc/sudoers, and one has to tread carefully in modifying security files
Much more comfortable with a diff.
What change made it work, exactly?
I made my sudo command working again by commenting out following line in /etc/sudoers:
%users ALL=(ALL) NOPASSWD: ALL
@ Lloyd Chambers: Did you update your bugreport at Apple with your latest findings?
This worked out for me.
I suggest anyway to create a copy of /etc/sudoers before to try the new configuration.
confirmed!
vagrant messed up the sudoers.
This worked for me!
sudo hangs before password