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

Development Tools Console Foundations Users and Permissions File Ownership

Why does it keep saying "mike is not in the sudoers file. This incident will be reported." i cannot follow along.

It comes up with this error any time I write a sudo command when logged in as mike. It doesn't do it for treehouse. I checked online for fixes but they are not working.

2 Answers

not every user is allowed to use sudo. If you need to switch to user treehouse then just switch user.

su - treehouse

I was having the same problem. I ended up changing back the permissions to 777 from user mike and then I logged on as user treehouse to change the owner back to treehouse. Once the owner was changed, I updated the permissions back to where they should be.

Thanks! That worked for me....