Issue #6371 has been updated by Stefan Schulte.
IIRC puppet will use operating system tools to alter the password on linux. On a solaris box puppet will parse `/etc/shadow` and just substitudes the crypted password. So the provider has to also alter the lastchg field by hand (and this is not happening right now) ---------------------------------------- Bug #6371: changing users password does not reset lastchg field. https://projects.puppetlabs.com/issues/6371 Author: Merritt Krakowitzer Status: Needs More Information Priority: Normal Assignee: Category: user Target version: Affected Puppet version: 2.6.4 Keywords: Branch: When updating a password via puppet. <pre> user { "storeadm": password => 'MYSECRETPASSWORD', } </pre> puppet will change the password, but it will not update the lastchg field to the day it changed it. contents of the old shadow file: storeadm:OLDSECRETPASSWORD:14960::28:7::: contents of the new shadow file storeadm:MYSECRETPASSWORD:14960::28:7::: so in essence the password is still expired, even though the password was just reset. running puppet 2.6.4 on solaris. Would be nice if it would also work with solaris roles. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
