On Fri, Apr 03, 2009 at 03:49:18PM +1300, Sebastian Krueger wrote:
> 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.

Blowfish?  I've never heard of anyone using that for passwords.
Standard Linux IME is md5.

mkpasswd *is* in fact the standard tool for this purpose, and it can
produce a variety of formats:

$ mkpasswd -m help
Available methods:
des     standard 56 bit DES-based crypt(3)
md5     MD5
sha-256 SHA-256
sha-512 SHA-512

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/

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