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