rnelson0 / puppet-local_user

Puppet module. Manage local users, setting an initial password but letting the user change it as needed afterward.
4 stars 5 forks source link

Password not updated #47

Closed jmaschtaler closed 8 years ago

jmaschtaler commented 8 years ago

Hi,

password won't be updated when an encrypted string has been set manually on host like

$6$sdI1fiR1$D1yU1ar/esZL5JrkIRF05U8bgQG3TfsEuDX/UwVO1KqE11b3pd1ejvn/eMkMSO4k9KbAaYDuqZ6RbqSGTslat0

best, Jörg

rnelson0 commented 8 years ago

This is by design. This module allows local users who can be given a provisioning password, but the user can then manage their password from that point on. Doing so allows a lot more flexibility than requiring passwords in the controlrepo or hiera data. Is there another use case you are envisioning?

jmaschtaler commented 8 years ago

Hi,

sorry for late answering.

Yes, there is another use case:

Cheers, Jörg

rnelson0 commented 8 years ago

If you want to manage the user's passwords for them, the built in user resource, or another user-related module, may be more appropriate for that use case.