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
Sean Flanagan33,235 Points
"mike is not in the sudoers file. This incident will be reported."
I got the above message when I typed in Mike's password. It felt a bit intimidating. What should I do please?
So, I am new to this too and hoping I don't steer you down the wrong track here, but I think you needed to exit out of mike. Earlier the teacher mentioned that instead of using su to switch back to the user named treehouse, you can type exit to exit the mike session that you're currently in. Mike isn't allowed to sudo (using sudo basically gives you admin privileges I think) but treehouse is allowed to sudo. So, switch back into treehouse and then you can take the file back off mike using:
sudo chown treehouse:treehouse hello.txt
Thank you this worked!