Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

SUDO

Hi,

I'm a new UNIX user and I'm having trouble with SUDO. I don't try and run it myself usually but if a script tries to use it it throws an error.

When I do try (for troubleshooting reasons) to run SUDO from the terminal it throws the following error:

sudo: /private/etc/sudoers is mode 0666, should be 0440

I am logged in as an admin user, I have read write access to etc/sudoers and there is an entry in etc/sudoers to allow admin users to do ALL/ALL.

Any help would be gratefully accepted, bearing in mind I'm a newbie.

Many thanks

Mike

Message was edited by: zuline

MacBook, Mac OS X (10.5.4)

Posted on Aug 27, 2008 1:18 AM

Reply
2 replies

Aug 27, 2008 1:50 AM in response to Pelorus1

Your /etc/sudoers file has somehow got the wrong file permissions. You could fix this using chmod but ironically I think you would need to use sudo to do that. So instead, try using Disk Utility in /Applications/Utilities select your HD and chose Repair Disk Permissions from the First Aid tab. It will take a while but hopefully it will sort out your problem.

SUDO

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.