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"?
sudo: parse error in /etc/sudoers near line 21 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
this is my full question about this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Atlassian DevOps essentials
Learn how to build, automate, and improve DevOps processes used for the development and delivery of software and other digital products.
Tracking and improving DevOps metrics
Make informed decisions about current and future projects and deadlines to maximize your team's productivity and keep morale high.
Exploring Atlassian Cloud products for agile and DevOps
Coordinate a suite of Atlassian Cloud products for greater collaboration and trust, higher-quality solutions, faster releases, and more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.