Yes, I don't want to store clear text passwords, I want to know to to
encrypt passwords so that I can put the encrypted hash into the pp files.

Someone on the irc puppet channel showed me this command, which I'm
currently using:

openssl passwd -1

this works for generating MD5 passwords, but not blowfish passwords.

If anyone knows how to generate blowfish passwords, I'd be keen to know how
they do it.

Kind regards, Sebastian.

On Fri, Apr 3, 2009 at 10:33 PM, <nick.maystre...@gmail.com> wrote:

>
> On Fri, 03 Apr 2009 02:49:18 -0000, Sebastian Krueger
> <sebykrue...@gmail.com> wrote:
> Hi Sebastian, its my type of "any help")). I think that puppet developers
> did right thing and we cant hold in puppet *.pp files clear passwords.
> There is no place in system for clear passwords.
> In your situation, i think, there is a way to make some script for hashing
> not hashed passwords in *.pp. If you need some help with that - you are
> wellcome.
> Bye
> > Hi guys,
> >
> > I'm trying to update passwords in /etc/shadow with puppet.
> >
> > I've installed the ruby lib shadow library and am using the following
> > sample
> > puppet syntax:
> >
> > ----
> > user { "seb":
> >         gid        => "30",
> >         ensure         => present,
> >         membership     => inclusive,
> >         groups         => [ "users" ],
> >         password     => "foofoo"
> >     }
> > ---
> >
> > result from /etc/shadow:
> >
> > seb:foofoo:14336:0:99999:7:::
> >
> > now the problem is, that the foofoo password is expected to be in
> > encrypted
> > form. Is there anyway to get "foofoo" password in encrypted form?
> >
> > Cleartext: foofoo
> > Cypertext: ???
> >
> > I've found references to mkpasswd, but this does not exist in SLES, and
> > doesn't generate Blowfish passwords anyway. I've tried a variety of Perl
> > one-liners, but can't seem to get the right combination.
> >
> > Any help would be much appreciated.
> >
> > Regards, Sebastian.
> >
> > >
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to