Issue #6371 has been updated by Jacob Helwig. Description updated Status changed from Tests Insufficient to In Topic Branch Pending Review Assignee deleted (Jacob Helwig) Branch changed from https://github.com/mkrakowitzer/puppet/tree/ticket%2F2.7.0%2F6371-solaris-lastchg-not-updating to https://github.com/jhelwig/puppet/tree/tickets/2.7.x/6371-update-lastchg-shadow-field-on-solaris
Merritt, I've updated the tests, and made a small tweak to the original implementation to make it easier to test. If you have a chance & time, I'd appreciate it if you took a look at the updated branch. I've also opened [pull request 173](https://github.com/puppetlabs/puppet/pull/173) to get the new tests reviewed by someone other than myself before merging into `2.7.x`. ---------------------------------------- Bug #6371: changing users password does not reset lastchg field. https://projects.puppetlabs.com/issues/6371 Author: Merritt Krakowitzer Status: In Topic Branch Pending Review Priority: Normal Assignee: Category: user Target version: 2.7.x Affected Puppet version: 2.6.4 Keywords: Branch: https://github.com/jhelwig/puppet/tree/tickets/2.7.x/6371-update-lastchg-shadow-field-on-solaris When updating a password via puppet. user { "storeadm": password => 'MYSECRETPASSWORD', } 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.
