Details
Description
Applying the sudo cookbook to a new EC2 instance without modification will cause the default user (ec2-user/ubuntu) to lose their sudo privileges.
One way to handle this is to define some 'sane' default usernames for popular AMI images, and to inspect for the ec2 attribute, and add the required statements.
Activity
- All
- Comments
- History
- Activity
- Transitions Summary
This is now able to be handled by the newer sudo cookbook and using the sudoers.d method.