vmbuilder should write sudoers file with admin group
Bug #423497 reported by
Ashish Jain
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on EC2 |
Invalid
|
Medium
|
Unassigned | ||
Karmic |
Invalid
|
Medium
|
Unassigned | ||
VMBuilder |
Fix Released
|
Undecided
|
Scott Moser | ||
vm-builder (Ubuntu) |
Fix Released
|
Medium
|
Scott Moser |
Bug Description
/etc/sudoers file in above mentioned AMI doesn't have group 'admin' included to have sudo access.
(This might be same in other types of AMI too, not sure).
Either it should be documented in EC2 notes, how to add sudo user.
Now for AMI image, it involves two steps
1. Add user to 'admin' group
2. Edit sudoers file to allow that group to be sudo enabled.
There is other alternative like
a. Add specific user to sudoers file
Thanks
Ashish Jain
http://
security vulnerability: | yes → no |
visibility: | private → public |
Changed in ubuntu-on-ec2: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: ec2-images uec-images |
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ubuntu-on-ec2: | |
status: | Confirmed → Invalid |
Changed in vm-builder (Ubuntu): | |
assignee: | nobody → Scott Moser (smoser) |
milestone: | none → ubuntu-9.10-beta |
status: | Confirmed → In Progress |
Changed in vmbuilder: | |
assignee: | nobody → Scott Moser (smoser) |
status: | New → Fix Committed |
Changed in vm-builder (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Are we sure that group "admin" should have sudo rights by default in Karmic? It doesn't in Jaunty.
When this bug was submitted, the AMI in question had a comment in /etc/sudoers which claimed that "admin" should have sudo privs, but the actual line to implement this was missing.
The latest Alpha-6 Karmic AMI does not include the comment and looks like the file is reasonable to me. Perhaps somebody could compare it to a standard Karmic /etc/sudoers; the only difference should be that "ubuntu" has sudo on everything.