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
1 reply to this topic
#1
Posted 26 November 2012 - 12:30 PM
#2
Posted 28 November 2012 - 02:30 AM
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
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
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









