I created a
newuser on EC2 following this document AWS doc. Now I can use this user to SSH to the EC2 instance. The only issue is that every time when I need to use sudo (for example, when I do
sudo yum update), it asks for password:
[sudo] password for newuser:
I created a password for
newuser but this password does not work.