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 usingvisudo
to remove the offending line and reboot. As the file is already writeable to everybody, you can just runvi /etc/sudo.conf
to fix it, followed bychmod 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.