How does Amazon ec2-user get its sudo rights

Posted by Johan on Server Fault See other posts from Server Fault or by Johan
Published on 2014-05-29T08:57:18Z Indexed on 2014/05/29 9:29 UTC
Read the original article Hit count: 163

Filed under:
|

I am looking for where the default Amazon AMI linux image sets up the privileges for the default ec2-user account.

After logging in with this account I can use sudo successfully. Checking via the sudoers file, which I open by running visudo (with no other options) I see a few default settings and permissions for root ALL ALL

So ... Where is the permissions for ec2-user assigned?

I have not yet tried to add a new permission but ultimately I want to resign ec2-user for systems management tasks and use a non-full root user for administering the applications (stop and start mysql, httpd, edit apache's vhost files, and upload / edit web content under the web root)

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about sudo