I was trying to uninstall some old software using Terminal and got this message:
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Uninstallation stopped.
I did a little research and found it likely that the permissions on my sudoers file are set wrong. I opened up the /etc folder and looked at the sudoers file with "Get Info", and admin, system, wheel, and everyone are all set to "Read & Write". What should they be, and what is the safe way to set them? Are there other related files that will need their permissions fixed? I'm not a Unix guy and don't want to brick my Mac Pro!
By the way, I started down this rabbit hole when I discovered I couldn't save my File Sharing preferences, in either of two administrator accounts, even after going through the standard advice for fixing permissions and rebuilding the systemprefs plist.
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Uninstallation stopped.
I did a little research and found it likely that the permissions on my sudoers file are set wrong. I opened up the /etc folder and looked at the sudoers file with "Get Info", and admin, system, wheel, and everyone are all set to "Read & Write". What should they be, and what is the safe way to set them? Are there other related files that will need their permissions fixed? I'm not a Unix guy and don't want to brick my Mac Pro!
By the way, I started down this rabbit hole when I discovered I couldn't save my File Sharing preferences, in either of two administrator accounts, even after going through the standard advice for fixing permissions and rebuilding the systemprefs plist.