Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-27 Thread Robert Bencale
I have the rpm ruby-shadow-1.4.1-7.el5 installed. On Wed, Jun 27, 2012 at 12:44 PM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 06/27/2012 06:40 PM, Robert Bencale wrote: > > hmmm I am also running as root, but do get the password hash. Any ideas? > > Yes, actually. Do you have lib

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-27 Thread Felix Frank
On 06/27/2012 06:40 PM, Robert Bencale wrote: > hmmm I am also running as root, but do get the password hash. Any ideas? Yes, actually. Do you have librubyshadow installed? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-27 Thread Robert Bencale
hmmm I am also running as root, but do get the password hash. Any ideas? On Tue, Jun 26, 2012 at 6:22 PM, John Lyman wrote: > It does for me, but I am running as root. Maybe that is the difference. > Or maybe your user provider doesn't manage_passwords? > > > On Monday, June 25, 2012 9:30:39 PM

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-26 Thread John Lyman
It does for me, but I am running as root. Maybe that is the difference. Or maybe your user provider doesn't manage_passwords? On Monday, June 25, 2012 9:30:39 PM UTC-4, Rob B. wrote: > > Hey John, > > It doesnt give the password section. > -- You received this message because you are sub

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Robert Bencale
Hey John, It doesnt give the password section. Thanks! Rob On Mon, Jun 25, 2012 at 9:16 PM, John Lyman wrote: > This would be fairly easy from cron by running 'puppet resource user root > > some.pp'. > > It would be even better if your password manager could trigger the command > to run only w

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread John Lyman
This would be fairly easy from cron by running 'puppet resource user root > some.pp'. It would be even better if your password manager could trigger the command to run only when the password has changed. On Monday, June 25, 2012 10:17:20 AM UTC-4, Rob B. wrote: > > I suppose I could use a cron

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Rob B.
t; > Sent: Monday, June 25, 2012 2:53:45 PM > > Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash > > > > > > > > - Original Message - > > > From: "Rob B." > > > To: puppet-users@googlegroups.com &

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Felix Frank
>> quite sure this wont work, the puppet master does not run as root and >> so your generate wont have access to read shadow file. >> > you could use sudo of course, but it doesnt seem like a great idea :) Sounds right enough. Though if you're being generous with the hash of that one root password

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-users@googlegroups.com > Sent: Monday, June 25, 2012 2:53:45 PM > Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash > > > > - Original Message - > &

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - > From: "Rob B." > To: puppet-users@googlegroups.com > Sent: Monday, June 25, 2012 2:52:51 PM > Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash > > > Hey Christopher, > > Thanks for the reply. I will

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Rob B.
Hey Christopher, Thanks for the reply. I will give this a try this morning. As for your question about why we want to mine it, we want to change the root password in out password manager software, have that change the root password on the puppet master, and then have puppet distribute the has

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-22 Thread Christopher Wood
inline On Fri, Jun 22, 2012 at 02:42:54PM -0700, Rob B. wrote: >Hey all, >  >My objective is to set the root password on the puppet master and then >have root module mine the hash from the shadow file. It seems like it >should work, but I get the error "Parameter password faile

[Puppet Users] Using generate() to mine a shadow file hash

2012-06-22 Thread Rob B.
Hey all, My objective is to set the root password on the puppet master and then have root module mine the hash from the shadow file. It seems like it should work, but I get the error "Parameter password failed: Passwords cannot include ':' at". I am not sure where it is seeing the ":". Any i