So this morning I enabled File Sharing and Remote Login in the Sharing preference pane, and now I get this whenever I use sudo:
It was working all yesterday. I haven't been poking around in the system files at all. I've been using sudo to burn my Raspberry Pi image to an SD card (used it for diskutil to unmount & eject the SD card).
I'm not sure if the File Sharing or Remote Login causes this or not, so I wouldn't recommend anything just seeing if it works, because I haven't figured out a way to fix it yet, without reinstalling OSX... If someone wants to risk it, then by all means, let me know.
If someone knows how to fix it, then definitely tell me! It would be MUCH appreciated!
File Sharing:
Remote Login:
"sudo" and "visudo" in terminal:
Ryans-MacBook-Pro:~ ryannazaretian$ sudo
sudo: can't open /private/etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Ryans-MacBook-Pro:~ ryannazaretian$ visudo
visudo: /private/etc/sudoers: Permission denied
visudo: /private/etc/sudoers: Permission denied
It was working all yesterday. I haven't been poking around in the system files at all. I've been using sudo to burn my Raspberry Pi image to an SD card (used it for diskutil to unmount & eject the SD card).
I'm not sure if the File Sharing or Remote Login causes this or not, so I wouldn't recommend anything just seeing if it works, because I haven't figured out a way to fix it yet, without reinstalling OSX... If someone wants to risk it, then by all means, let me know.
If someone knows how to fix it, then definitely tell me! It would be MUCH appreciated!
File Sharing:
Remote Login:
"sudo" and "visudo" in terminal:
Last edited: