[Bug 1044044] Re: ubuntu user not in correct groups

Ben Howard 1044044 at bugs.launchpad.net
Thu Aug 30 21:17:52 UTC 2012


Fixed this in the builder.

ben at padfoot:/work/automated-ec2-builds/live-config/common/hooks$ bzr diff
=== modified file 'live-config/common/hooks/030-create-users.chroot'
--- live-config/common/hooks/030-create-users.chroot	2012-08-27 21:22:41 +0000
+++ live-config/common/hooks/030-create-users.chroot	2012-08-30 21:13:39 +0000
@@ -16,7 +16,7 @@
 
 echo "Adding ubuntu user..."
 useradd -U -m ubuntu  -c "Ubuntu" --shell /bin/bash
-usermod -a -G adm,admin,audio,cdrom,dialout,floppy,video,plugdev,dip,netdev ubuntu
+usermod -a -G adm,admin,audio,cdrom,dialout,floppy,video,plugdev,dip,netdev,sudo,ubuntu
 gpasswd -a ubuntu netdev
 echo "ubuntu:ubuntu" | chpasswd

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1044044

Title:
  ubuntu user not in correct groups

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1044044/+subscriptions



More information about the Ubuntu-server-bugs mailing list