Sudo commands makes error which tells sudoer has missing "__chkstk_darwin" symbol

Solution 1:

So we are looking at two issues here:

  • /etc/sudo.conf points to a missing plugin. Normally you would need to boot into Single User or Recovery, edit the file using visudo to remove the offending line and reboot. As the file is already writeable to everybody, you can just run vi /etc/sudo.conf to fix it, followed by chmod 640 /etc/sudo.conf; chown root:wheel /etc/sudo.conf.
  • brew uninstall sudo because this is most likely not needed at all.

PS: Always use visudo to have syntax checks done automatically, it will protect against a lot of typos. It will not protect against symbol errors in plugins though.