yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56622
[Bug 1624152] [NEW] cc_users_groups changes passwords and locks pre-existing accounts
Public bug reported:
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
** Affects: cloud-init
Importance: Undecided
Status: New
--
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:
New
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
Follow ups