cc_set_passwords does not expire users if password given as hash
Bug #1979065 reported by
Roni Väyrynen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
High
|
Unassigned |
Bug Description
https:/
Documentation explains three different ways of setting user password using chpasswd but doesn't mention that they would otherwise work any differently from one another. Passwords should by default be expired if not specifically set otherwise in chpasswd. Although if one sets the password as hash either in password or chpasswd list, cc_set_passwords.py skips passwd --expire <username> completely which doesn't match documented behaviour.
This part only applies to users which had either plain text password or random password set.
To post a comment you must log in.
Thanks for reporting this. I can reproduce the behavior described.