Welcome to the Community!
There is not enough context in your question for us to be able to answer it. Permission for what? Which Atlassian application? Is this ec2-user a human or a service account of some sort? Where is "unable to initialise policy plugin" coming from? What app is the "policy plugin"?
This has nothing to do with Atlassian stuff, so you are asking in the wrong place.
But, it's not hard to see what is wrong - the error message you've posted is clear that your /etc/sudoers file is incorrectly written or corrupt.
You need to edit that file and correct the errors in it.
Hi, DevOps community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hear m...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events