yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78124
[Bug 1624152] Re: cc_users_groups changes passwords and locks pre-existing accounts
[Expired for cloud-init because there has been no activity for 60 days.]
** Changed in: cloud-init
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1624152
Title:
cc_users_groups changes passwords and locks pre-existing accounts
Status in cloud-init:
Expired
Bug description:
The behavior of cc_users_groups leads to a pre-existing user account
being locked out (by default).
The fix: "return False" from add_user() when the account pre-exists.
Then add a conditional to create_user() to also skip password
manipulation if the account already existed.
if not self.add_user(name, **kwargs):
LOG.info("User %s already exists, skipping password setting." % name)
return False
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1624152/+subscriptions
References