What I tend to do is change the password of the account I'm managing

# passwd user

then copy it from /etc/shadow into the manifest. But then we have very
few local user accounts.

Regards

Martin

On Fri, Apr 3, 2009 at 7:41 AM, Robin Lee Powell
<rlpow...@digitalkingdom.org> wrote:
>
> 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