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 -~----------~----~----~----~------~----~------~--~---