Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

khalidshehaab

macrumors newbie
Original poster
Nov 22, 2018
5
0
I want to show the option of anywhere in privacy setting to install every software for this I found the terminal code -
sudo spctl --master-disable

but when I run this in Mojave I get this message -

Last login: Sun Nov 25 18:45:06 on ttys000

KHALIDs-MBP:~ khalidshehab$ sudo spctl --master-disable

sudo: /etc/sudoers is world writable

sudo: no valid sudoers sources found, quitting

sudo: unable to initialize policy plugin

KHALIDs-MBP:~ khalidshehab$

please help me to solve this problem thank U
 

Attachments

  • Screenshot 2018-11-25 at 7.09.10 PM.png
    Screenshot 2018-11-25 at 7.09.10 PM.png
    158.1 KB · Views: 610
This is not working still I get this message please help
 

Attachments

  • Screenshot 2018-11-25 at 8.41.43 PM.png
    Screenshot 2018-11-25 at 8.41.43 PM.png
    253.9 KB · Views: 236
/private/etc/sudoers should be owned by root:wheel and only be readable by root and wheel (-r--r-----)

You can open terminal and do a "ls -l /private/etc" to get the iisting.

If that is not set correctly on your system, something is seriously broken. You can correct permissions from the command line, but I would be concerned about the cause of this corruption opening up the system.
I would
- Use a virus/trojan scan of some sort and
- Reinstall
 
  • Like
Reactions: Toutou
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.