[Puppet Users] Re: Using puppet to change passwords on nix systems

2012-11-30 Thread jcbollinger
On Thursday, November 29, 2012 11:14:57 PM UTC-6, O wrote: > > Hi, I am new to this and I discovered a manifest in an old post that > should change passwords. It runs fine, but the password does not change. I > am wondering how this would work since it would need to change the shadow. > > The

[Puppet Users] Re: Using puppet to change passwords on nix systems

2012-11-30 Thread O
You are right. I found a simpler way of doing it using puppet's built in "user" reference with shadow-lib installed. The only thing is, puppet doesn't seem to be able to create an md5 hash for you so you need to create a test user with the same password and use that value for password => 'hashg

[Puppet Users] Re: Using puppet to change passwords on nix systems

2012-12-04 Thread Phips
On Friday, November 30, 2012 4:40:34 PM UTC, O wrote: > You are right. I found a simpler way of doing it using puppet's built in > "user" reference with shadow-lib installed. The only thing is, puppet > doesn't seem to be able to create an md5 hash for you so you need to create > a test user wi

[Puppet Users] Re: Using puppet to change passwords on nix systems

2012-12-04 Thread jcbollinger
On Tuesday, December 4, 2012 4:52:45 AM UTC-6, Phips wrote: > > On Friday, November 30, 2012 4:40:34 PM UTC, O wrote: > >> You are right. I found a simpler way of doing it using puppet's built in >> "user" reference with shadow-lib installed. The only thing is, puppet >> doesn't seem to be able

Re: [Puppet Users] Re: Using puppet to change passwords on nix systems

2012-11-30 Thread Brian Jolly
I've been using the openssl command line tool to generate the hash for my puppet users: openssl passwd -1 It's still a manual process to get the hash, but works pretty good for a small number of users. -- You received this message because you are subscribed to the Google Groups "Puppet Users" g