~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 880.

  • Committer: Scott Moser
  • Date: 2013-09-30 16:11:21 UTC
  • mfrom: (879.1.1 cloud-init)
  • Revision ID: smoser@ubuntu.com-20130930161121-dtnueuchquh06x7o
add default user to 'sudo' group.

Ubuntu images in 12.04 added the user to the 'admin' group.
The admin group was deprecated/replaced with the 'sudo' group in 12.10.

d-i adds its first-user to the 'sudo' group, so it makes sense to mimic
that behavior for the default user created by cloud-init.  That was the
original reason behind the presense in the 'admin' group.

Also, here I sorted alphabetically the group list.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: