Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Jorge Alvarez
Jorge Alvarez
9,330 Points

sudo command

Terminal

Password:

jorgealvarez1 is not in the sudoers file. This incident will be reported.

I was trying to stop any errors when the servers start using the terminal for MYSQL

2 Answers

Alan Johnson
Alan Johnson
7,625 Points

Hi Jorge! Can you tell us a little more about what you're asking?

Jorge Alvarez
Jorge Alvarez
9,330 Points

Oh I figured it out I should probably post the answer and explain more :p

Jorge Alvarez
Jorge Alvarez
9,330 Points

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.

from http://superuser.com/questions/369880/you-are-not-in-the-sudoers-file-error-after-running-sudo-command