Backstory: I was trying to get PHP to execute node, but ended up changing permissions / ownerships on probably more files and folders than I should of.
At one point I stumbled upon someone's suggestion to change /etc/sudoers/ so that it sets Defaults requiretty. I tried to nano into it, and couldn't. So then I get the idea to sudo chown ec2-user /etc/sudoers and I've been stuck with this issue ever since.

I was able to go back in nano and revert my text change, but the ownership of the file is what's causing the issue now.
I think he closest matching answered question on here is this one:
Broken sudo on amazon web services ec2 linux centOS (but this one relates to a parsing error, typo in the file I'm assuming).
How can I fix this? Have I permanently messed up this EC2 instance?
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 250
تاريخ: پنجشنبه
20 خرداد
1395 ساعت: 6:29