ergot Posted November 26, 2012 Share Posted November 26, 2012 Hi I am trying to enter root directory but i am getting this: sudo: /private/etc/sudoers is mode 0666, should be 0440 sudo: no valid sudoers sources found, quitting how can i fix it? Thanks Link to comment https://www.insanelymac.com/forum/topic/284596-how-to-fix-sudo-permissions/ Share on other sites More sharing options...
Lanceomni Posted November 28, 2012 Share Posted November 28, 2012 Open terminal and type: diskutil repairpermissions / If this does not correct your issues, you can correct this file in Single User Mode. Restart using the boot-flag -s Then type: /sbin/mount -wu / chown -R 440 /private/etc/sudoers Restart using the boot-flag -v Link to comment https://www.insanelymac.com/forum/topic/284596-how-to-fix-sudo-permissions/#findComment-1869472 Share on other sites More sharing options...
Recommended Posts