[Bug 423497] Re: Sudoers file is misconfigured in AMI ami-5059be39
Scott Moser
smoser at ubuntu.com
Tue Sep 22 18:34:01 BST 2009
On Tue, 22 Sep 2009, Eric Hammond wrote:
> Are we sure that group "admin" should have sudo rights by default in
> Karmic? It doesn't in Jaunty.
I just checked a vm desktop install of jaunty. That is identical to my
karmic laptop.
$ sudo grep admin /etc/sudoers
[sudo] password for ubuntu:
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
By default on ubuntu, members of the admin group can sudo with their
password. On ec2 images, the ubuntu user can sudo *without* a password.
I believe the request here was to add the group 'admin' back to sudoers so
that methods to add root access to a user would work on ec2 the same as on
non-ec2.
At least, what I was intending on doing was insert an admin line before
'ubuntu's entry, so that members of the group admin could use sudo to
become root by providing their password. Ie, new /etc/sudoers would
have:
root ALL=(ALL) ALL
ubuntu ALL=(ALL) NOPASSWD:ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
--
Sudoers file is misconfigured in AMI ami-5059be39
https://bugs.launchpad.net/bugs/423497
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list