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
Mike Fiedler
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | sudo cookbook defaults to breaking EC@ default user | sudo cookbook defaults to breaking EC2 default user |
Mike Fiedler
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |
Joshua Timberman [Opscode]
made changes -
| Workflow | jira [ 15722 ] | New OSS [ 22399 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
65d 10h 21m | 1 | Mike Fiedler | 08/Jul/12 3:04 PM |
This is now able to be handled by the newer sudo cookbook and using the sudoers.d method.