** Changed in: cloud-init (Ubuntu Precise)
     Assignee: (unassigned) => Ben Howard (utlemming)

** Changed in: cloud-init (Ubuntu)
     Assignee: (unassigned) => Ben Howard (utlemming)

** Changed in: cloud-init (Ubuntu)
     Assignee: Ben Howard (utlemming) => Scott Moser (smoser)

** Description changed:

+ [IMPACT] On Windows Azure for 12.04, cloud-init fails to set right user
+ name for the sudoer.d file unless the user sets a password. This means
+ that SSH-key auth users are locked out of sudo access, effectively
+ making the instance useless.
+ 
+ This is critical, as instances that are affected are completely useless
+ for things requiring sudo access. There is no recovery and no work
+ around.
+ 
+ This only affects new instances, not existing instances. However, it may
+ affect rebundled instances.
+ 
+ [Test Case] Launch a new build with -proposed using SSH-only
+ authentication. The defined user in the launch should be able to "sudo
+ -i".
+ 
+ [Regression Potential] Regression potential is low, as this fixes a
+ completely broken feature.
+ 
+ [Original Report]:
  Launcing an instance like this:
  azure vm create --vm-size=extrasmall --vm-name=smoser0912pr-hack2 
"--location=East US" 
--ssh-cert=/home/smoser/.ssh/id_rsa-smoser-az...@brickies.pem --no-ssh-password 
--ssh=22  
b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_3-LTS-amd64-server-20130909-en-us-30GB
 smoser
  
  results in being prompted for a password on sudo.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cloud-init 0.6.3-0ubuntu1.6
  ProcVersionSignature: Ubuntu 3.2.0-53.81-virtual 3.2.50
  Uname: Linux 3.2.0-53-virtual x86_64
  ApportVersion: 2.0.1-0ubuntu17.4
  Architecture: amd64
  Date: Thu Sep 12 20:45:02 2013
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
-  TERM=screen
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=screen
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: cloud-init
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224684

Title:
  [SRU] cannot sudo, prompted for password on 12.04 Windows Azure

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to