[Puppet Users] Default user password

schickb
Sun, 09 Nov 2008 05:54:31 -0000

I would like to creating new users on a system and assign them default
passwords that are set only upon creation. I can create the users and
assign default passwords with the "user" type, but puppet will
continue to reset the password back to that default value even after
users modify their own.

I guess I could handle this with an "exec" that sets passwords only if
the user exists but has never logged in or something. Any other
solution?

It would be helpful if the "user" type had a new attribute called
"defaultpassword" or "initialpassword".