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 trialJorge Alvarez
9,330 Pointssudo 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
7,625 PointsHi Jorge! Can you tell us a little more about what you're asking?
Jorge Alvarez
9,330 Pointssudoers 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.
Jorge Alvarez
9,330 PointsJorge Alvarez
9,330 PointsOh I figured it out I should probably post the answer and explain more :p