[Bug 1044553] [NEW] 'password' setting broken by usergroup changes
Scott Moser
smoser at ubuntu.com
Fri Aug 31 21:13:58 UTC 2012
Public bug reported:
I've posted this little snippet of cloud-config syntax different places:
#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
And I'd like for it to continue to work. It was broken by the user-
group changes and currently gives a stack trace in the cc_set_passwords
module. That exception also breaks the 'ssh_pwauth'.
basically, I think we should do the following:
* if 'password' appears in cloud-config, then apply it to the 'default' user if that user does not have a password set.
* if there is no default user, just complain (log warn) and do not do anything.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cloud-init 0.7.0~bzr639-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-13.13-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
Architecture: amd64
Date: Fri Aug 31 21:08:28 2012
PackageArchitecture: all
ProcEnviron:
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)
** Affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug quantal
--
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/1044553
Title:
'password' setting broken by usergroup changes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1044553/+subscriptions
More information about the Ubuntu-server-bugs
mailing list