prey / prey-node-client

Node.js client for the Prey anti-theft software.
http://preyproject.com
GNU General Public License v3.0
327 stars 75 forks source link

sudo not working on macosx BigSur after 1.12.3 update #944

Open kosmasgiannis opened 4 months ago

kosmasgiannis commented 4 months ago

I tried to run sudo and got the following output:

>>> /private/etc/sudoers.d/52_prey_switcher: syntax error near line 1 <<<
sudo: parse error in /private/etc/sudoers.d/52_prey_switcher near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

I'm running prey 1.12.3 on macosx BigSur.

bob2meeps commented 3 months ago

I'm seeing the same three messages from sudo on Prey 1.12.4, running on macOS 14.4.1 (Sonoma). However, they appear in prey.log every 5 minutes.

Note that macOS Sonoma has a plain /etc/sudoers file but no /etc/sudoers.d directory.