Hello

in James Loope's book (called Managing Infrastructure with Puppet), he
writes on page23: "The password hash can either be mined out of a
shadow file or generated with the mkpasswd utility." My question is:
how can the hash field be mined out of the shadow field. I tried to
use the generate function to execute the following command:
grep username /etc/shadow | cut -d: -f2
but that did not work. It seems that the generate function does not
like the | pipe command.

My question is: how can I extract that hash value and store it in a
Puppet variable?

Thank you

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

Reply via email to