Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried using a sudo command on my iMac to create a bootable version of Ubuntu, but when I run the command by pressing enter, I got the warning that the command might screw up my system, which I ignored.

I then received a message:

you are not in the sudoers file, the incident will be reported

and my Terminal window was then rendered useless, with the usual $ not appearing so that I could type my commands.

What in the world is "sudoers", why is this happening and how can I put a stop to it?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

sudoers is the file that specifies which users are allowed to sudo.

You need to run sudo from an account that is Administrator of your Mac, not a regular user account. Change the association in System Preferences.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.